]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix memory leaks reported by cppcheck in src/lxc/conf.c (v2)
authorS.Çağlar Onur <caglar@10ur.org>
Mon, 18 Nov 2013 19:28:52 +0000 (14:28 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 19 Nov 2013 22:22:12 +0000 (16:22 -0600)
commitad40563e902214317e669590186ab348627b8491
tree18db072d4bbef219d18d0b93d19a6fac7e76fc56
parenteff9177f716b3f8ea9058c2f54b604396490da2e
fix memory leaks reported by cppcheck in src/lxc/conf.c (v2)

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 <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/conf.c