Commit 5105b56c authored by Daniel Salzman's avatar Daniel Salzman

conf: fix heap-buffer-overflow

parent 417f4e41
......@@ -329,7 +329,7 @@ void conf_update(
old_conf->io.zones = NULL;
}
if (flags & CONF_UPD_FMODULES) {
init_list(&old_conf->query_modules);
WALK_LIST_FREE(old_conf->query_modules);
old_conf->query_plan = NULL;
}
......
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