[asterisk-commits] rmudgett: branch 12 r399585 - /branches/12/main/features_config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 20 19:55:56 CDT 2013
Author: rmudgett
Date: Fri Sep 20 19:55:54 2013
New Revision: 399585
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399585
Log:
features_config: Fix config ref leak of parkinglots.
This leak happend for just about every channel created.
Modified:
branches/12/main/features_config.c
Modified: branches/12/main/features_config.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/features_config.c?view=diff&rev=399585&r1=399584&r2=399585
==============================================================================
--- branches/12/main/features_config.c (original)
+++ branches/12/main/features_config.c Fri Sep 20 19:55:54 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