[asterisk-commits] mmichelson: tag 1.6.0.9 r186651 - /tags/1.6.0.9/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 6 11:48:55 CDT 2009


Author: mmichelson
Date: Mon Apr  6 11:48:51 2009
New Revision: 186651

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186651
Log:
Commit fix for crash issue that could occur due to transmission failure.


Modified:
    tags/1.6.0.9/channels/chan_sip.c

Modified: tags/1.6.0.9/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/tags/1.6.0.9/channels/chan_sip.c?view=diff&rev=186651&r1=186650&r2=186651
==============================================================================
--- tags/1.6.0.9/channels/chan_sip.c (original)
+++ tags/1.6.0.9/channels/chan_sip.c Mon Apr  6 11:48:51 2009
@@ -2922,7 +2922,6 @@
 		ast_log(LOG_ERROR, "Serious Network Trouble; __sip_xmit returns error for pkt data\n");
 		AST_SCHED_DEL(sched, pkt->retransid);
 		p->packets = pkt->next;
-		ast_free(pkt->data);
 		ast_free(pkt);
 		return AST_FAILURE;
 	} else {




More information about the asterisk-commits mailing list