]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix leak in virNodeDeviceDefParseXML v3.1.0-rc2
authorJohn Ferlan <jferlan@redhat.com>
Mon, 20 Feb 2017 12:19:10 +0000 (07:19 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 27 Feb 2017 22:04:33 +0000 (17:04 -0500)
commitca1f38545750d597c75c9773723c716483b03e5c
treea89de7e54daab15caed67e6ad81237571e2ce999
parent38a8489c01787146215847ba6a84a5b2c5799f1f
conf: Fix leak in virNodeDeviceDefParseXML

The 'nodes' is overwritten after the first usage and possibly leaked
if any code in the first set of parsing goes to error.

Found by Coverity.

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