3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00

more missing nullptr flexibility #5156

This commit is contained in:
Nikolaj Bjorner 2021-04-08 10:34:09 -07:00
parent b1f5933c7d
commit d91eac24b7
8 changed files with 20 additions and 10 deletions

View file

@ -243,7 +243,8 @@ extern "C" {
Z3_TRY;
LOG_Z3_fixedpoint_dec_ref(c, s);
RESET_ERROR_CODE();
to_fixedpoint(s)->dec_ref();
if (s)
to_fixedpoint(s)->dec_ref();
Z3_CATCH;
}