[asterisk-commits] russell: trunk r86751 - in /trunk: ./ main/channel.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 22 10:57:02 CDT 2007
Author: russell
Date: Mon Oct 22 10:57:02 2007
New Revision: 86751
URL: http://svn.digium.com/view/asterisk?view=rev&rev=86751
Log:
Merged revisions 86750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r86750 | russell | 2007-10-22 10:52:48 -0500 (Mon, 22 Oct 2007) | 8 lines
Don't leak a frame in the case that an END frame is received and the time since
the BEGIN is less than that of the defined minimum DTMF duration.
(closes issue #11051)
Reported by: casper
Patches:
channel.c.86664.diff uploaded by casper (license 55)
........
Modified:
trunk/ (props changed)
trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=86751&r1=86750&r2=86751
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon Oct 22 10:57:02 2007
@@ -2360,6 +2360,7 @@
ast_set_flag(chan, AST_FLAG_EMULATE_DTMF);
chan->emulate_dtmf_digit = f->subclass;
chan->emulate_dtmf_duration = AST_MIN_DTMF_DURATION - f->len;
+ ast_frfree(f);
f = &ast_null_frame;
} else {
ast_log(LOG_DTMF, "DTMF end passthrough '%c' on %s\n", f->subclass, chan->name);
More information about the asterisk-commits
mailing list