mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 02:34:17 +03:00
Remove safety check abort mallctl
This commit is contained in:
parent
bbe86b591f
commit
9cecc7bfa7
12 changed files with 33 additions and 64 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue