[asterisk-commits] coreyfarrell: branch 12 r427400 - /branches/12/res/res_hep.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 6 03:22:36 CST 2014
Author: coreyfarrell
Date: Thu Nov 6 03:22:28 2014
New Revision: 427400
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=427400
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/
Modified:
branches/12/res/res_hep.c
Modified: branches/12/res/res_hep.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_hep.c?view=diff&rev=427400&r1=427399&r2=427400
==============================================================================
--- branches/12/res/res_hep.c (original)
+++ branches/12/res/res_hep.c Thu Nov 6 03:22:28 2014
@@ -533,6 +533,7 @@
int res;
if (!config || !config->general->enabled) {
+ ao2_ref(capture_info, -1);
return 0;
}
More information about the asterisk-commits
mailing list