mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-05 03:09:30 +00:00
e7f3bad46e
* This patch is a modification of a patch submitted by Nigel Jones. It fixes several memory leaks on device addition/removal: 1. Free the virNodeDeviceDefPtr in udevAddOneDevice if the return value is non-zero 2. Always release the node device reference after the device has been processed. * Refactored for better readability per the suggestion of clalance