]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
fix a place where a frame would be free'd twice
authorRussell Bryant <russell@russellbryant.com>
Mon, 12 Jun 2006 20:40:11 +0000 (20:40 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 12 Jun 2006 20:40:11 +0000 (20:40 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33693 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_agi.c

index 5d2a029e198bfd1e3b2265e8c9a928afbf604011..96de36b831c8c7292032fcec8aafcb0ad5455949 100644 (file)
@@ -1006,7 +1006,6 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, char
                                         }
                                         if (totalsilence > silence) {
                                              /* Ended happily with silence */
-                                               ast_frfree(f);
                                                 gotsilence = 1;
                                                 break;
                                         }