mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-14 13:58:38 +00:00
fix a place where a frame would be free'd twice
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1006,7 +1006,6 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, char
|
|||||||
}
|
}
|
||||||
if (totalsilence > silence) {
|
if (totalsilence > silence) {
|
||||||
/* Ended happily with silence */
|
/* Ended happily with silence */
|
||||||
ast_frfree(f);
|
|
||||||
gotsilence = 1;
|
gotsilence = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user