[asterisk-commits] branch 1.2 - r7972 /branches/1.2/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jan 10 23:46:41 CST 2006


Author: russell
Date: Tue Jan 10 23:46:39 2006
New Revision: 7972

URL: http://svn.digium.com/view/asterisk?rev=7972&view=rev
Log:
fix mem leak on module unload (issue #6190)

Modified:
    branches/1.2/channels/chan_sip.c

Modified: branches/1.2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_sip.c?rev=7972&r1=7971&r2=7972&view=diff
==============================================================================
--- branches/1.2/channels/chan_sip.c (original)
+++ branches/1.2/channels/chan_sip.c Tue Jan 10 23:46:39 2006
@@ -13153,7 +13153,6 @@
 				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");



More information about the asterisk-commits mailing list