conf: don't leak list

parent 9253c083
......@@ -3754,6 +3754,7 @@ int lxc_clear_limits(struct lxc_conf *c, const char *key)
free_disarm(lim->resource);
free(lim);
free(it);
}
if (all)
......
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