mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
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
This commit is contained in:
@@ -175,6 +175,7 @@ static int ices_exec(struct ast_channel *chan, void *data)
|
|||||||
if (errno != EAGAIN) {
|
if (errno != EAGAIN) {
|
||||||
ast_log(LOG_WARNING, "Write failed to pipe: %s\n", strerror(errno));
|
ast_log(LOG_WARNING, "Write failed to pipe: %s\n", strerror(errno));
|
||||||
res = -1;
|
res = -1;
|
||||||
|
ast_frfree(f);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user