From ff918b1832307204b106ca7bcaea21ff57370d7a Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Tue, 11 Dec 2012 11:08:09 -0600 Subject: [PATCH] seccomp: free conf->seccomp (filename char *) Signed-off-by: Serge Hallyn --- src/lxc/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index a58f18d80..5173aaf60 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -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");