[asterisk-commits] mmichelson: branch group/CCSS r239426 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 12 10:12:18 CST 2010


Author: mmichelson
Date: Tue Jan 12 10:12:14 2010
New Revision: 239426

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=239426
Log:
Fix potential refleak.


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

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=239426&r1=239425&r2=239426
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Tue Jan 12 10:12:14 2010
@@ -24177,6 +24177,7 @@
 		 */
 		ast_cc_failed(agent->core_id, "CC is being canceled\n");
 		transmit_response(p, "200 OK", req);
+		ao2_ref(agent, -1);
 		return 0;
 	}
 




More information about the asterisk-commits mailing list