]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
parallels: Resolve Coverity USE_AFTER_FREE
authorJohn Ferlan <jferlan@redhat.com>
Wed, 27 Aug 2014 11:32:11 +0000 (07:32 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 27 Aug 2014 16:52:26 +0000 (12:52 -0400)
commit0da9a8a8bffc682b7a13c1d8d68744970d12a22c
tree721eb7356a000850c6d7a37cd541c2078cc13063
parenta6a210b8798996ce7f33b540671f6557c9b9cb56
parallels: Resolve Coverity USE_AFTER_FREE

Coverity complains that calling virNetworkDefFree(def), then jumping
to the cleanup: label which calls virNetworkDefFree(def) could result
in a double_free.  Just remove the call from the if statement.
src/parallels/parallels_network.c