]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix leak of virNetworkPtr in LXC startup failure path
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Nov 2012 12:57:57 +0000 (12:57 +0000)
committerCole Robinson <crobinso@redhat.com>
Sun, 9 Dec 2012 21:53:40 +0000 (16:53 -0500)
commit3926d8571bf5cfe4ce0a9113a83d5029b4bb6091
tree31bfbdc59eba8e80b7b01019873740d2aace0b30
parente69aaf2f7ea06a22a7c2f31d0a774d316d8e9984
Fix leak of virNetworkPtr in LXC startup failure path

When starting an LXC guest with a virNetwork based NIC device,
if the network was not active, the virNetworkPtr device would
be leaked

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 509ce9437ff77db84b5b035ad6b778fa8548a684)
src/lxc/lxc_process.c