Disable sanity_check_range while check_has_free

This commit is contained in:
obdev
2023-06-02 10:47:35 +00:00
committed by ob-robot
parent 88bcf89dbd
commit 4bc62745d8

View File

@ -470,6 +470,7 @@ void ObjectSet::do_free_dirty_list()
bool ObjectSet::check_has_unfree(char *first_label) bool ObjectSet::check_has_unfree(char *first_label)
{ {
SANITY_DISABLE_CHECK_RANGE(); // prevent sanity_check_range
bool has_unfree = false; bool has_unfree = false;
if (blist_ != NULL) { if (blist_ != NULL) {