mirror of
https://github.com/Z3Prover/z3
synced 2025-06-20 04:43:39 +00:00
Fixed memory leaks in interpolation API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
a6bee82ef8
commit
6a27d93776
1 changed files with 3 additions and 0 deletions
|
@ -273,6 +273,9 @@ extern "C" {
|
||||||
0 // ignore params for now
|
0 // ignore params for now
|
||||||
);
|
);
|
||||||
|
|
||||||
|
for (unsigned i = 0; i < cnsts.size(); i++)
|
||||||
|
_m.dec_ref(cnsts[i]);
|
||||||
|
|
||||||
Z3_lbool status = of_lbool(_status);
|
Z3_lbool status = of_lbool(_status);
|
||||||
|
|
||||||
Z3_ast_vector_ref *v = 0;
|
Z3_ast_vector_ref *v = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue