mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +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
|
@ -53,7 +53,8 @@ extern "C" {
|
|||
Z3_TRY;
|
||||
LOG_Z3_ast_map_dec_ref(c, m);
|
||||
RESET_ERROR_CODE();
|
||||
to_ast_map(m)->dec_ref();
|
||||
if (m)
|
||||
to_ast_map(m)->dec_ref();
|
||||
Z3_CATCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue