[svn-commits] branch 1.2 r33515 - /branches/1.2/apps/app_ices.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Jun 11 13:48:41 MST 2006


Author: russell
Date: Sun Jun 11 15:48:41 2006
New Revision: 33515

URL: http://svn.digium.com/view/asterisk?rev=33515&view=rev
Log:
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:
    branches/1.2/apps/app_ices.c

Modified: branches/1.2/apps/app_ices.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_ices.c?rev=33515&r1=33514&r2=33515&view=diff
==============================================================================
--- branches/1.2/apps/app_ices.c (original)
+++ branches/1.2/apps/app_ices.c Sun Jun 11 15:48:41 2006
@@ -175,6 +175,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 svn-commits mailing list