From 56a93496136ee0eedddda08094cb38b0ccc83684 Mon Sep 17 00:00:00 2001 From: russell Date: Wed, 11 Jan 2006 05:46:39 +0000 Subject: fix mem leak on module unload (issue #6190) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7972 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 46c094bb1..ae62104eb 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13153,7 +13153,6 @@ int unload_module() ast_softhangup(p->owner, AST_SOFTHANGUP_APPUNLOAD); p = p->next; } - iflist = NULL; ast_mutex_unlock(&iflock); } else { ast_log(LOG_WARNING, "Unable to lock the interface list\n"); -- cgit v1.2.3