mirror of
https://github.com/Z3Prover/z3
synced 2025-06-27 16:38:45 +00:00
more missing nullptr flexibility #5156
This commit is contained in:
parent
b1f5933c7d
commit
d91eac24b7
8 changed files with 20 additions and 10 deletions
|
@ -55,7 +55,8 @@ extern "C" {
|
|||
Z3_TRY;
|
||||
LOG_Z3_params_dec_ref(c, p);
|
||||
RESET_ERROR_CODE();
|
||||
to_params(p)->dec_ref();
|
||||
if (p)
|
||||
to_params(p)->dec_ref();
|
||||
Z3_CATCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue