[svn-commits] file: branch 1.6.2 r184676 - in /branches/1.6.2: ./ res/res_agi.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Mar 27 10:55:20 CDT 2009


Author: file
Date: Fri Mar 27 10:55:17 2009
New Revision: 184676

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=184676
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.2/   (props changed)
    branches/1.6.2/res/res_agi.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/res/res_agi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/res/res_agi.c?view=diff&rev=184676&r1=184675&r2=184676
==============================================================================
--- branches/1.6.2/res/res_agi.c (original)
+++ branches/1.6.2/res/res_agi.c Fri Mar 27 10:55:17 2009
@@ -737,6 +737,10 @@
 			ast_frfree(f);
 		}
 	}
+
+	if (async_agi.speech) {
+		ast_speech_destroy(async_agi.speech);
+	}
 quit:
 	/* notify manager users this channel cannot be
 	   controlled anymore by Async AGI */
@@ -2929,6 +2933,9 @@
 			}
 		}
 	}
+	if (agi->speech) {
+		ast_speech_destroy(agi->speech);
+	}
 	/* Notify process */
 	if (send_sighup) {
 		if (pid > -1) {




More information about the svn-commits mailing list