mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 19:00:25 +00:00
fix missing nullptr check for #5156
This commit is contained in:
parent
887b62efe6
commit
b1f5933c7d
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ extern "C" {
|
||||||
Z3_TRY;
|
Z3_TRY;
|
||||||
LOG_Z3_ast_vector_dec_ref(c, v);
|
LOG_Z3_ast_vector_dec_ref(c, v);
|
||||||
RESET_ERROR_CODE();
|
RESET_ERROR_CODE();
|
||||||
to_ast_vector(v)->dec_ref();
|
if (v)
|
||||||
|
to_ast_vector(v)->dec_ref();
|
||||||
Z3_CATCH;
|
Z3_CATCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue