Commit ff918b18 by Serge Hallyn

seccomp: free conf->seccomp (filename char *)

parent 7323456e
...@@ -2760,6 +2760,8 @@ void lxc_conf_free(struct lxc_conf *conf) ...@@ -2760,6 +2760,8 @@ void lxc_conf_free(struct lxc_conf *conf)
if (conf->aa_profile) if (conf->aa_profile)
free(conf->aa_profile); free(conf->aa_profile);
#endif #endif
if (conf->seccomp)
free(conf->seccomp);
lxc_clear_config_caps(conf); lxc_clear_config_caps(conf);
lxc_clear_cgroups(conf, "lxc.cgroup"); lxc_clear_cgroups(conf, "lxc.cgroup");
lxc_clear_hooks(conf, "lxc.hook"); lxc_clear_hooks(conf, "lxc.hook");
......
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