Author: coreyfarrell Date: Thu Nov 6 03:24:26 2014 New Revision: 427408 URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427408 Log: res_hep: fix major leak that occurs when config is missing or enabled=no.
Add missing unreference in hepv3_send_packet. ASTERISK-24491 #close Reported by: Zane Conkle Tested by: Zane Conkle Review: https://reviewboard.asterisk.org/r/4150/ ........ Merged revisions 427400 from http://svn.asterisk.org/svn/asterisk/branches/12 ........ Merged revisions 427405 from http://svn.asterisk.org/svn/asterisk/branches/13 Modified: trunk/ (props changed) trunk/res/res_hep.c Propchange: trunk/ ------------------------------------------------------------------------------ Binary property 'branch-13-merged' - no diff available. Modified: trunk/res/res_hep.c URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_hep.c?view=diff&rev=427408&r1=427407&r2=427408 ============================================================================== --- trunk/res/res_hep.c (original) +++ trunk/res/res_hep.c Thu Nov 6 03:24:26 2014 @@ -532,6 +532,7 @@ int res; if (!config || !config->general->enabled) { + ao2_ref(capture_info, -1); return 0; } -- _____________________________________________________________________ -- 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
