[Asterisk-cvs] asterisk/apps app_dial.c,1.94.2.8,1.94.2.9
markster
markster
Wed Aug 3 16:18:17 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv27625/apps
Modified Files:
Tag: v1-0
app_dial.c
Log Message:
Fix memory leak
Index: app_dial.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_dial.c,v
retrieving revision 1.94.2.8
retrieving revision 1.94.2.9
diff -u -d -r1.94.2.8 -r1.94.2.9
--- app_dial.c 12 May 2005 01:43:36 -0000 1.94.2.8
+++ app_dial.c 3 Aug 2005 20:22:27 -0000 1.94.2.9
@@ -414,8 +414,8 @@
if (single && ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_DTMF))) {
if (ast_write(outgoing->chan, f))
ast_log(LOG_WARNING, "Unable to forward voice\n");
- ast_frfree(f);
}
+ ast_frfree(f);
}
if (!*to && (option_verbose > 2))
ast_verbose( VERBOSE_PREFIX_3 "Nobody picked up in %d ms\n", orig);
More information about the svn-commits
mailing list