Commit 7eb516c4 authored by Daniel Salzman's avatar Daniel Salzman

conf: fix memory leak

parent be388724
......@@ -345,6 +345,7 @@ conf_t *conf_update(
conf->io.zones = s_conf->io.zones;
}
if ((flags & CONF_UPD_FMODULES) && s_conf != NULL) {
mm_free(conf->mm, conf->query_modules);
conf->query_modules = s_conf->query_modules;
conf->query_plan = s_conf->query_plan;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment