Quoting Weng Meiling (wengmeiling.w...@huawei.com): > > when releasing the conf, add free conf->rcfile which is from malloc > > Signed-off-by: Weng Meiling <wengmeiling.w...@huawei.com>
Thanks. Acked-by: Serge E. Hallyn <serge.hal...@ubuntu.com> > --- > src/lxc/conf.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/lxc/conf.c b/src/lxc/conf.c > index 6b3f318..01b70f4 100644 > --- a/src/lxc/conf.c > +++ b/src/lxc/conf.c > @@ -3094,6 +3094,8 @@ void lxc_conf_free(struct lxc_conf *conf) > free(conf->ttydir); > if (conf->fstab) > free(conf->fstab); > + if (conf->rcfile) > + free(conf->rcfile); > lxc_clear_config_network(conf); > #if HAVE_APPARMOR > if (conf->aa_profile) > -- 1.7.1 > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > _______________________________________________ > Lxc-devel mailing list > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel