mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
fix #6034
This commit is contained in:
parent
f6b2874d7c
commit
363b69f588
10 changed files with 19 additions and 21 deletions
|
@ -54,7 +54,6 @@ extern "C" {
|
|||
void Z3_API Z3_params_dec_ref(Z3_context c, Z3_params p) {
|
||||
Z3_TRY;
|
||||
LOG_Z3_params_dec_ref(c, p);
|
||||
RESET_ERROR_CODE();
|
||||
if (p)
|
||||
to_params(p)->dec_ref();
|
||||
Z3_CATCH;
|
||||
|
@ -141,8 +140,8 @@ extern "C" {
|
|||
void Z3_API Z3_param_descrs_dec_ref(Z3_context c, Z3_param_descrs p) {
|
||||
Z3_TRY;
|
||||
LOG_Z3_param_descrs_dec_ref(c, p);
|
||||
RESET_ERROR_CODE();
|
||||
to_param_descrs(p)->dec_ref();
|
||||
if (p)
|
||||
to_param_descrs(p)->dec_ref();
|
||||
Z3_CATCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue