[asterisk-commits] mnicholson: trunk r273312 - /trunk/addons/chan_mobile.c

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


Author: mnicholson
Date: Thu Jul  1 07:57:18 2010
New Revision: 273312

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

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


Modified:
    trunk/addons/chan_mobile.c

Modified: trunk/addons/chan_mobile.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_mobile.c?view=diff&rev=273312&r1=273311&r2=273312
==============================================================================
--- trunk/addons/chan_mobile.c (original)
+++ trunk/addons/chan_mobile.c Thu Jul  1 07:57:18 2010
@@ -1154,7 +1154,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-commits mailing list