From aee34ec7347e82e0031ad9e1ce07e794f9057c63 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 11 Nov 2018 19:48:15 -0800 Subject: [PATCH] ircd::allocator: Remove erroneous assertions. --- ircd/allocator.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/ircd/allocator.cc b/ircd/allocator.cc index e76ab3b90..176d8f15c 100644 --- a/ircd/allocator.cc +++ b/ircd/allocator.cc @@ -290,7 +290,6 @@ ircd::allocator::install_malloc_hook() void ircd::allocator::uninstall_malloc_hook() { - assert(their_malloc_hook); __malloc_hook = their_malloc_hook; } #pragma GCC diagnostic pop @@ -325,7 +324,6 @@ ircd::allocator::install_realloc_hook() void ircd::allocator::uninstall_realloc_hook() { - assert(their_realloc_hook); __realloc_hook = their_realloc_hook; } #else @@ -359,7 +357,6 @@ ircd::allocator::install_free_hook() void ircd::allocator::uninstall_free_hook() { - assert(their_free_hook); __free_hook = their_free_hook; } #pragma GCC diagnostic pop