]> git.ipfire.org Git - thirdparty/libvirt.git/commit
LXC: avoid useless duplicate memory free
authorGao feng <gaofeng@cn.fujitsu.com>
Tue, 19 Jun 2012 01:33:20 +0000 (09:33 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 19 Jun 2012 08:09:47 +0000 (16:09 +0800)
commit00828bebdab9764cd21cd30ef8b8d94ab5931e6a
treeb1acf688fd1f95e0cf650664e4019be898d7f0fb
parentcd639ec5ffb74c5466810870baa1d92bbd67410f
LXC: avoid useless duplicate memory free

when lxcContainerIdentifyCGroups failed, the memory it allocated
has been freed, so we should not free this memory again in
lxcContainerSetupPivortRoot and lxcContainerSetupExtraMounts.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
src/lxc/lxc_container.c