]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix virNodeDeviceObjGetNames nnames increment
authorJohn Ferlan <jferlan@redhat.com>
Mon, 10 Apr 2017 12:33:08 +0000 (08:33 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 10 Apr 2017 17:47:02 +0000 (13:47 -0400)
commit44d3db9785b3bd32af4ebf4e1c2ede6f9a424bbf
treec1e49ce1764215e28e3e5e24964a84ccdf599c98
parentfd6e3f48ede2e3a01ef849ea4411d6507515956e
conf: Fix virNodeDeviceObjGetNames nnames increment

To be safer, only increment nnames after the VIR_STRDUP is successful.
src/conf/virnodedeviceobj.c