From ec5df3a7b1890a1e3523a1d91648dd51aaa418df Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Wed, 25 Dec 2013 09:43:51 +0000 Subject: [PATCH] It'll be okay to use LibAliasDetachHandlers() here, relying on the fact that all handlers come from modules' bss and are followed by NODIR handler. --- sys/netinet/libalias/alias.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/libalias/alias.c b/sys/netinet/libalias/alias.c index 8f23699fd1d..bd36604b349 100644 --- a/sys/netinet/libalias/alias.c +++ b/sys/netinet/libalias/alias.c @@ -1722,7 +1722,7 @@ LibAliasUnLoadAllModule(void) /* Unload all modules then reload everything. */ while ((p = first_handler()) != NULL) { - detach_handler(p); + LibAliasDetachHandlers(p); } while ((t = walk_dll_chain()) != NULL) { dlclose(t->handle);