From: Russell Bryant Date: Sun, 11 Jun 2006 20:48:41 +0000 (+0000) Subject: fix a place that would leak a frame (all of these fixes are in applications X-Git-Tag: 1.2.10~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332880b8bc64b6c1ffcc54c39f5cb49d620b696f;p=thirdparty%2Fasterisk.git 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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33515 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_ices.c b/apps/app_ices.c index 85f4159ec4..b6b5ad3f76 100644 --- a/apps/app_ices.c +++ b/apps/app_ices.c @@ -175,6 +175,7 @@ static int ices_exec(struct ast_channel *chan, void *data) if (errno != EAGAIN) { ast_log(LOG_WARNING, "Write failed to pipe: %s\n", strerror(errno)); res = -1; + ast_frfree(f); break; } }