]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Thu, 24 Sep 2015 21:32:59 +0000 (17:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 7 Oct 2015 22:42:38 +0000 (18:42 -0400)
commit0bc5fcffb13e3ea9ab35aeb760d31660f4aea2c8
tree4f2630dc73bf8eb06e0f02b4e2a3a90ec6ef7bf4
parentf84c6dd26def63304e085c40bdd7a42373139cbb
qemu: Resolve Coverity FORWARD_NULL

Coverity notices that net->ifname is potentially referenced after a
VIR_FREE().  Since the net->ifname will eventually be free'd during
virDomainDefFree when calling virDomainNetDefFree, let's just that
processing take care the free.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c