libvirt/src/node_device
David Allan e7f3bad46e Fix leaks in udev device add/remove v3
* 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
2010-06-08 14:46:29 -04:00
..
node_device_driver.c Prefer UDEV to HAL drivers if both a compiled 2010-06-08 15:15:02 +01:00
node_device_driver.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
node_device_hal.c maint: mark translatable string args of VIR_ERROR 2010-05-20 21:36:25 +02:00
node_device_hal.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
node_device_linux_sysfs.c maint: don't mark VIR_DEBUG or VIR_DEBUG0 diagnostics for translation 2010-05-20 21:36:26 +02:00
node_device_udev.c Fix leaks in udev device add/remove v3 2010-06-08 14:46:29 -04:00
node_device_udev.h maint: make Red Hat copyright notices consistent 2010-03-18 16:48:05 +01:00