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);
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs