From 31726737dfa69c084be87aae20249b2fb1e053f1 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Sun, 19 Oct 2014 00:58:54 +0200 Subject: ConfigGlobal: fix params not fully cleaned --- src/config/ConfigGlobal.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/ConfigGlobal.cxx b/src/config/ConfigGlobal.cxx index 9bc83398c..06b41de80 100644 --- a/src/config/ConfigGlobal.cxx +++ b/src/config/ConfigGlobal.cxx @@ -38,6 +38,7 @@ void config_global_finish(void) { for (auto i : config_data.params) delete i; + config_data.params.fill(0); } void config_global_init(void) -- cgit v1.2.3