add enforce_init call to other realloc code path

This commit is contained in:
Daniel Micay 2018-10-20 02:27:06 -04:00
parent 6a408ad017
commit 9a43302868

View File

@ -964,6 +964,7 @@ EXPORT void *h_realloc(void *old, size_t size) {
if (size <= max_slab_size_class && get_size_info(size).size == old_size) {
return old;
}
enforce_init();
} else {
enforce_init();