mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
garbage collect all api::object references when calling del_context. Request issue #679
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f30fb7639e
commit
b080e3a216
25 changed files with 115 additions and 56 deletions
|
@ -30,7 +30,7 @@ extern "C" {
|
|||
Z3_TRY;
|
||||
LOG_Z3_mk_params(c);
|
||||
RESET_ERROR_CODE();
|
||||
Z3_params_ref * p = alloc(Z3_params_ref);
|
||||
Z3_params_ref * p = alloc(Z3_params_ref, *mk_c(c));
|
||||
mk_c(c)->save_object(p);
|
||||
Z3_params r = of_params(p);
|
||||
RETURN_Z3(r);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue