[asterisk-commits] file: branch 1.6.0 r184674 - in /branches/1.6.0: ./ res/res_agi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 27 10:48:20 CDT 2009
Author: file
Date: Fri Mar 27 10:48:16 2009
New Revision: 184674
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184674
Log:
Merged revisions 184673 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r184673 | file | 2009-03-27 12:46:46 -0300 (Fri, 27 Mar 2009) | 7 lines
Fix speech structure leak in the AGI speech recognition integration.
The AGI dialplan applications did not destroy the speech structure automatically
if it was not destroyed by the running AGI script. They will now do this.
(issue LUMENVOX-15)
........
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/res/res_agi.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/res/res_agi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.0/res/res_agi.c?view=diff&rev=184674&r1=184673&r2=184674
==============================================================================
--- branches/1.6.0/res/res_agi.c (original)
+++ branches/1.6.0/res/res_agi.c Fri Mar 27 10:48:16 2009
@@ -498,6 +498,10 @@
}
ast_frfree(f);
}
+ }
+
+ if (async_agi.speech) {
+ ast_speech_destroy(async_agi.speech);
}
quit:
/* notify manager users this channel cannot be
@@ -2781,6 +2785,9 @@
}
}
}
+ if (agi->speech) {
+ ast_speech_destroy(agi->speech);
+ }
/* Notify process */
if (send_sighup) {
if (pid > -1) {
More information about the asterisk-commits
mailing list