[asterisk-commits] russell: branch 1.4 r45622 - /branches/1.4/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Oct 18 17:59:52 MST 2006


Author: russell
Date: Wed Oct 18 19:59:51 2006
New Revision: 45622

URL: http://svn.digium.com/view/asterisk?rev=45622&view=rev
Log:
Don't leak the actual thread-specific sip_pvt struct

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_sip.c?rev=45622&r1=45621&r2=45622&view=diff
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Wed Oct 18 19:59:51 2006
@@ -5569,6 +5569,8 @@
 	struct sip_pvt *p = data;
 
 	ast_string_field_free_pools(p);
+
+	free(data);
 }
 
 /*! \brief Transmit response, no retransmits, using a temporary pvt structure */



More information about the asterisk-commits mailing list