[asterisk-commits] russell: branch group/issue_11972 r105911 - /team/group/issue_11972/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 4 19:19:21 CST 2008


Author: russell
Date: Tue Mar  4 19:19:21 2008
New Revision: 105911

URL: http://svn.digium.com/view/asterisk?view=rev&rev=105911
Log:
Remove an extra unref that caused a crash

(issue #11972, thanks to jamesgolovich for the testing and info for how to reproduce)

Modified:
    team/group/issue_11972/channels/chan_sip.c

Modified: team/group/issue_11972/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/issue_11972/channels/chan_sip.c?view=diff&rev=105911&r1=105910&r2=105911
==============================================================================
--- team/group/issue_11972/channels/chan_sip.c (original)
+++ team/group/issue_11972/channels/chan_sip.c Tue Mar  4 19:19:21 2008
@@ -2226,7 +2226,6 @@
 	AST_LIST_LOCK(&threadl);
 	AST_LIST_REMOVE(&threadl, me, list);
 	AST_LIST_UNLOCK(&threadl);
-	ao2_ref(me->ser, -1);
 	ast_free(me);
 cleanup2:
 	fclose(ser->f);




More information about the asterisk-commits mailing list