summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2014-10-19 00:58:54 +0200
committerMax Kellermann <max@duempel.org>2014-12-08 18:15:13 +0100
commit31726737dfa69c084be87aae20249b2fb1e053f1 (patch)
tree0a8a773074cfa5596395667d4d2b5deb1b67ebf0 /src/config
parent082be33cbd5ced59da3262274103bdfff35c780d (diff)
ConfigGlobal: fix params not fully cleaned
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigGlobal.cxx1
1 files changed, 1 insertions, 0 deletions
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)