[asterisk-addons-commits] mnicholson: branch 1.6.2 r1124 - /branches/1.6.2/channels/chan_mobile.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Thu Jul 1 07:56:44 CDT 2010


Author: mnicholson
Date: Thu Jul  1 07:56:39 2010
New Revision: 1124

URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1124
Log:
Don't free written frames in chan_mobile's mbl_write() function.

(closes issue #16430)
Reported by: azbest
Tested by: azbest


Modified:
    branches/1.6.2/channels/chan_mobile.c

Modified: branches/1.6.2/channels/chan_mobile.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/channels/chan_mobile.c?view=diff&rev=1124&r1=1123&r2=1124
==============================================================================
--- branches/1.6.2/channels/chan_mobile.c (original)
+++ branches/1.6.2/channels/chan_mobile.c Thu Jul  1 07:56:39 2010
@@ -1087,7 +1087,6 @@
 
 	while ((f = ast_smoother_read(pvt->smoother))) {
 		sco_write(pvt->sco_socket, f->data.ptr, f->datalen);
-		ast_frfree(f);
 	}
 
 	ast_mutex_unlock(&pvt->lock);




More information about the asterisk-addons-commits mailing list