[svn-commits] jrose: trunk r410624 - in /trunk: ./ main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Mar 14 16:37:00 CDT 2014


Author: jrose
Date: Fri Mar 14 16:36:55 2014
New Revision: 410624

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410624
Log:
manager: fix memory leak in manager_add_filter function

(closes issue ASTERISK-23420)
Reported by: Etienne Lessard
Patches:
    manager_eventfilter_leak uploaded by Etienne Lessard (license 6394)
........

Merged revisions 410609 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 410623 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/main/manager.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/manager.c?view=diff&rev=410624&r1=410623&r2=410624
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Fri Mar 14 16:36:55 2014
@@ -5150,6 +5150,8 @@
 		ao2_t_link(whitefilters, new_filter, "link new filter into white user container");
 	}
 
+	ao2_ref(new_filter, -1);
+
 	return FILTER_SUCCESS;
 }
 




More information about the svn-commits mailing list