Re: [lxc-devel] [PATCH 2/2] lxc_start: free the conf if starting the container fails

2013-05-03 Thread Serge Hallyn
Quoting Weng Meiling (wengmeiling.w...@huawei.com): > > When running lxc-start command with valgrind, it reports a memory leak error. > When lxc-start command fails, the conf which is from malloc has not been > released. > This patch fix the problem. > > Signed-off-by: Weng Meiling This isn't

[lxc-devel] [PATCH 2/2] lxc_start: free the conf if starting the container fails

2013-05-02 Thread Weng Meiling
When running lxc-start command with valgrind, it reports a memory leak error. When lxc-start command fails, the conf which is from malloc has not been released. This patch fix the problem. Signed-off-by: Weng Meiling --- src/lxc/lxc_start.c | 21 +++-- 1 files changed, 11 ins