[asterisk-commits] rmudgett: trunk r399586 - in /trunk: ./ main/features_config.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Sep 20 19:56:53 CDT 2013


Author: rmudgett
Date: Fri Sep 20 19:56:52 2013
New Revision: 399586

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399586
Log:
features_config: Fix config ref leak of parkinglots.

This leak happend for just about every channel created.
........

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

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

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Fri Sep 20 19:56:52 2013
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399100,399136,399146,399160,399197,399207,399225,399237,399247,399257,399268,399283,399294,399339,399365,399376,399404,399458,399501,399514,399531,399553,399565,399576,399583
+/branches/12:1-398558,398560-398577,398579-399100,399136,399146,399160,399197,399207,399225,399237,399247,399257,399268,399283,399294,399339,399365,399376,399404,399458,399501,399514,399531,399553,399565,399576,399583,399585

Modified: trunk/main/features_config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/features_config.c?view=diff&rev=399586&r1=399585&r2=399586
==============================================================================
--- trunk/main/features_config.c (original)
+++ trunk/main/features_config.c Fri Sep 20 19:56:52 2013
@@ -622,6 +622,7 @@
 
 	ao2_cleanup(cfg->global);
 	ao2_cleanup(cfg->featuremap);
+	ao2_cleanup(cfg->parkinglots);
 	ao2_cleanup(cfg->applicationmap);
 	ao2_cleanup(cfg->featuregroups);
 }
@@ -720,7 +721,7 @@
 		return NULL;
 	}
 
-	cfg->global = global_config_alloc();;
+	cfg->global = global_config_alloc();
 	if (!cfg->global) {
 		return NULL;
 	}




More information about the asterisk-commits mailing list