]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
LXC: fix memory leak in lxcContainerMountFSBlockHelper
authorGao feng <gaofeng@cn.fujitsu.com>
Tue, 12 Jun 2012 05:55:48 +0000 (13:55 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 18 Jun 2012 13:28:13 +0000 (21:28 +0800)
commit73e2d646fb027a8f943bea9cc7ff28aa0362781d
tree4a8f8edf4647595a461fba4dc59a23000bbd0bb3
parent2872155bfe8e95334116e216f369539d1ec5c7cb
LXC: fix memory leak in lxcContainerMountFSBlockHelper

we alloc the memory for format in lxcContainerMountDetectFilesystem
but without free it in lxcContainerMountFSBlockHelper.

this patch just call VIR_FREE to free it.

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