mirror of
https://github.com/Z3Prover/z3
synced 2025-05-03 13:55:47 +00:00
fix memory leak in proof production in theory_pb
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
282b781d88
commit
026265f9a3
6 changed files with 243 additions and 267 deletions
|
@ -1622,11 +1622,7 @@ public:
|
|||
|
||||
void debug_ref_count() { m_debug_ref_count = true; }
|
||||
|
||||
void inc_ref(ast * n) {
|
||||
if (n) {
|
||||
n->inc_ref();
|
||||
}
|
||||
}
|
||||
void inc_ref(ast * n);
|
||||
|
||||
void dec_ref(ast* n) {
|
||||
if (n) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue