aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigGlobal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigGlobal.cxx')
-rw-r--r--src/config/ConfigGlobal.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/config/ConfigGlobal.cxx b/src/config/ConfigGlobal.cxx
index 322c800da..5c04ea93e 100644
--- a/src/config/ConfigGlobal.cxx
+++ b/src/config/ConfigGlobal.cxx
@@ -37,9 +37,7 @@ static ConfigData config_data;
void config_global_finish(void)
{
- for (auto i : config_data.params)
- delete i;
- config_data.params.fill(0);
+ config_data.Clear();
}
void config_global_init(void)