[asterisk-commits] trunk r33516 - in /trunk: ./ apps/app_ices.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Jun 11 13:49:17 MST 2006


Author: russell
Date: Sun Jun 11 15:49:16 2006
New Revision: 33516

URL: http://svn.digium.com/view/asterisk?rev=33516&view=rev
Log:
Merged revisions 33515 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33515 | russell | 2006-06-11 16:48:41 -0400 (Sun, 11 Jun 2006) | 4 lines

fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not 
free the frame)

........

Modified:
    trunk/   (props changed)
    trunk/apps/app_ices.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: trunk/apps/app_ices.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_ices.c?rev=33516&r1=33515&r2=33516&view=diff
==============================================================================
--- trunk/apps/app_ices.c (original)
+++ trunk/apps/app_ices.c Sun Jun 11 15:49:16 2006
@@ -173,6 +173,7 @@
 					if (errno != EAGAIN) {
 						ast_log(LOG_WARNING, "Write failed to pipe: %s\n", strerror(errno));
 						res = -1;
+						ast_frfree(f);
 						break;
 					}
 				}



More information about the asterisk-commits mailing list