]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
seccomp: free conf->seccomp (filename char *)
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 11 Dec 2012 17:08:09 +0000 (11:08 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 11 Dec 2012 17:08:09 +0000 (11:08 -0600)
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c

index a58f18d80bf78a403f5f91f206fa3c1c0239125b..5173aaf609c24b4cffb3398a1a3a190ece2a6d11 100644 (file)
@@ -2760,6 +2760,8 @@ void lxc_conf_free(struct lxc_conf *conf)
        if (conf->aa_profile)
                free(conf->aa_profile);
 #endif
+       if (conf->seccomp)
+               free(conf->seccomp);
        lxc_clear_config_caps(conf);
        lxc_clear_cgroups(conf, "lxc.cgroup");
        lxc_clear_hooks(conf, "lxc.hook");