Merged revisions 7972 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 11 Jan 2006 05:47:21 +0000 (05:47 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 11 Jan 2006 05:47:21 +0000 (05:47 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7972 | russell | 2006-01-11 00:46:39 -0500 (Wed, 11 Jan 2006) | 2 lines

fix mem leak on module unload (issue #6190)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7973 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 3c16698..9266c33 100644 (file)
@@ -13218,7 +13218,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");