]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't free NULL network in cmdNetworkUpdate
authorJán Tomko <jtomko@redhat.com>
Mon, 26 Aug 2013 10:51:08 +0000 (12:51 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 3 Sep 2013 08:18:58 +0000 (10:18 +0200)
commit4f4e1cbf1f913ffbea6209216d606f15e7e464c3
treee1d110335b8e09d69e1b44917a09a42361ecbc33
parentd23cf2c91b32a715aae9beeaac04fc36924e0f56
Don't free NULL network in cmdNetworkUpdate

If the network has not been found, virNetworkFree(NULL)
was called, resulting in an extra error:
error: invalid network pointer in virNetworkFree

https://bugzilla.redhat.com/show_bug.cgi?id=1001094
(cherry picked from commit 784cca89c51fd13383064f248a6b375fb34e516f)
tools/virsh-network.c