[asterisk-commits] coreyfarrell: trunk r427205 - in /trunk: ./	funcs/func_talkdetect.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Nov  4 13:46:37 CST 2014
    
    
  
Author: coreyfarrell
Date: Tue Nov  4 13:46:33 2014
New Revision: 427205
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427205
Log:
func_talkdetect: Fix stasis message leak in audiohook callback.
ASTERISK-24482 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4142/
........
Merged revisions 427203 from http://svn.asterisk.org/svn/asterisk/branches/12
........
Merged revisions 427204 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
    trunk/   (props changed)
    trunk/funcs/func_talkdetect.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/funcs/func_talkdetect.c
URL: http://svnview.digium.com/svn/asterisk/trunk/funcs/func_talkdetect.c?view=diff&rev=427205&r1=427204&r2=427205
==============================================================================
--- trunk/funcs/func_talkdetect.c (original)
+++ trunk/funcs/func_talkdetect.c Tue Nov  4 13:46:33 2014
@@ -218,6 +218,7 @@
 		                blob);
 		if (message) {
 			stasis_publish(ast_channel_topic(chan), message);
+			ao2_ref(message, -1);
 		}
 
 		ast_json_unref(blob);
    
    
More information about the asterisk-commits
mailing list