From ffb11fb950f4a4584af2a89251fcb0983606bef9 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 11 Jan 2006 05:46:39 +0000 Subject: [PATCH] fix mem leak on module unload (issue #6190) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7972 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 46c094bb10..ae62104ebf 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");