Remove safety check abort mallctl

This commit is contained in:
Slobodan Predolac
2026-05-22 10:08:45 -07:00
parent 820065072b
commit cc7be7fbe2
12 changed files with 33 additions and 64 deletions

View File

@@ -12,7 +12,7 @@ set_abort_called(const char *message) {
TEST_BEGIN(test_realloc_abort) {
abort_called = false;
safety_check_set_abort(&set_abort_called);
test_hooks_safety_check_abort = &set_abort_called;
void *ptr = mallocx(42, 0);
expect_ptr_not_null(ptr, "Unexpected mallocx error");
ptr = realloc(ptr, 0);