conf: don't leak list

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