Skip to content

Commit

Permalink
for sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed May 11, 2020
1 parent 6f22985 commit b6c3239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/enchant/enchant.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ static void php_enchant_broker_free(zend_object *object) /* {{{ */

if (broker->pbroker) { /* may have been freed by enchant_broker_free */
enchant_broker_free(broker->pbroker);
broker->pbroker = NULL;
}
zend_object_std_dtor(object);
}
Expand All @@ -186,6 +187,7 @@ static void php_enchant_dict_free(zend_object *object) /* {{{ */
broker->nb_dict--;
zval_ptr_dtor(&dict->zbroker);
}
dict->pdict = NULL;
}
zend_object_std_dtor(object);
}
Expand Down

0 comments on commit b6c3239

Please sign in to comment.