0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 07:23:53 +01:00

ircd::allocator: Remove erroneous assertions.

This commit is contained in:
Jason Volk 2018-11-11 19:48:15 -08:00
parent 47732a0075
commit aee34ec734

View file

@ -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