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; } }