]> git.ipfire.org Git - thirdparty/lxc.git/commit
fix memory leaks reported by cppcheck in src/lxc/lxc_usernsexec.c
authorS.Çağlar Onur <caglar@10ur.org>
Tue, 19 Nov 2013 23:53:37 +0000 (18:53 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 20 Nov 2013 15:57:42 +0000 (09:57 -0600)
commit2716b4877280dc984d40002fe47e9a40f15ccc0d
tree2104024d73649acad560c150910a2fc83c73b153
parent49aba4d3c828808953b7ef004c459707d901c360
fix memory leaks reported by cppcheck in src/lxc/lxc_usernsexec.c

Free previously allocated memory if realloc fails.

Signed-off-by: S.Çağlar Onur <caglar@10ur.org>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_usernsexec.c