[asterisk-commits] trunk r33447 - /trunk/apps/app_zapbarge.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Jun 11 07:48:26 MST 2006
Author: russell
Date: Sun Jun 11 09:48:25 2006
New Revision: 33447
URL: http://svn.digium.com/view/asterisk?rev=33447&view=rev
Log:
don't leak a frame when exiting when the user presses '#'
Modified:
trunk/apps/app_zapbarge.c
Modified: trunk/apps/app_zapbarge.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_zapbarge.c?rev=33447&r1=33446&r2=33447&view=diff
==============================================================================
--- trunk/apps/app_zapbarge.c (original)
+++ trunk/apps/app_zapbarge.c Sun Jun 11 09:48:25 2006
@@ -217,6 +217,7 @@
break;
if ((f->frametype == AST_FRAME_DTMF) && (f->subclass == '#')) {
ret = 0;
+ ast_frfree(f);
break;
} else if (fd != chan->fds[0]) {
if (f->frametype == AST_FRAME_VOICE) {
More information about the asterisk-commits
mailing list