Author: coreyfarrell Date: Tue Nov 4 13:44:59 2014 New Revision: 427204 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427204 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 Modified: branches/13/ (props changed) branches/13/funcs/func_talkdetect.c Propchange: branches/13/ ------------------------------------------------------------------------------ Binary property 'branch-12-merged' - no diff available. Modified: branches/13/funcs/func_talkdetect.c URL: http://svnview.digium.com/svn/asterisk/branches/13/funcs/func_talkdetect.c?view=diff&rev=427204&r1=427203&r2=427204 ============================================================================== --- branches/13/funcs/func_talkdetect.c (original) +++ branches/13/funcs/func_talkdetect.c Tue Nov 4 13:44:59 2014 @@ -218,6 +218,7 @@ blob); if (message) { stasis_publish(ast_channel_topic(chan), message); + ao2_ref(message, -1); } ast_json_unref(blob); -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- svn-commits mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/svn-commits
