]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: fix a memory leak
authorShi Lei <shi_lei@massclouds.com>
Wed, 16 Dec 2020 06:01:06 +0000 (14:01 +0800)
committerLaine Stump <laine@redhat.com>
Wed, 16 Dec 2020 19:43:51 +0000 (14:43 -0500)
commitecfc2d5f43a790be636f3af7c112ae2e45b29c6b
tree3267312243c23f66803767807ba07204979d6db9
parent87502a35ae53642157b9f4e033ccf902e2e155bd
lxc: fix a memory leak

In virLXCProcessSetupInterfaceTap, containerVeth needs to be freed on
failure.

Signed-off-by: Shi Lei <shi_lei@massclouds.com>
Reviewed-by: Laine Stump <laine@redhat.com>
src/lxc/lxc_process.c