[asterisk-commits] coreyfarrell: trunk r427408 - in /trunk: ./ res/res_hep.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 6 03:24:30 CST 2014
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;
}
More information about the asterisk-commits
mailing list