aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ices.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 20:49:16 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 20:49:16 +0000
commit260a4d02ae37884ae5d6c07440c1c207c1c8ade6 (patch)
tree0d5156cef377a69ce05a413ceb87851fac54c5a3 /apps/app_ices.c
parentf3c57831d156f29f182af9c0eec4d1684b4f724d (diff)
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) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33516 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_ices.c')
-rw-r--r--apps/app_ices.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_ices.c b/apps/app_ices.c
index 195607ab6..67b107e41 100644
--- a/apps/app_ices.c
+++ b/apps/app_ices.c
@@ -173,6 +173,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;
}
}