Re: [lxc-devel] [PATCH] fix memory leaks reported by cppcheck in src/lxc/conf.c (v2)

2013-11-19 Thread Serge Hallyn
Quoting S.Çağlar Onur (cag...@10ur.org): > This also fixes possible crashes due to passing NULL to strlen function > > Changes since v1; > * Fixed a typo spotted by Serge > > Signed-off-by: S.Çağlar Onur Thanks. Acked-by: Serge E. Hallyn > --- > src/lxc/conf.c | 28 +++--

[lxc-devel] [PATCH] fix memory leaks reported by cppcheck in src/lxc/conf.c (v2)

2013-11-18 Thread S . Çağlar Onur
This also fixes possible crashes due to passing NULL to strlen function Changes since v1; * Fixed a typo spotted by Serge Signed-off-by: S.Çağlar Onur --- src/lxc/conf.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/co