aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_ices.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 20:48:41 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-11 20:48:41 +0000
commit8a4c3ed36a1a0ed528c1d76c884cea10ae47d21e (patch)
tree6197b125beb28ea3585a967fad4c9257cf2c9e73 /apps/app_ices.c
parent43b0aabc27aaa16152db348bbcf758d3e99dc20d (diff)
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/branches/1.2@33515 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 85f4159ec..b6b5ad3f7 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;
}
}