aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-11 05:46:39 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-11 05:46:39 +0000
commit56a93496136ee0eedddda08094cb38b0ccc83684 (patch)
tree2cea93eeb231c3c0b5233a976921bd41efb1dc3b /channels
parentfe5bab74a7fa849f112726d813c03d70dc2ae386 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 0 insertions, 1 deletions
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");