[libvirt] [PATCH] nodedev: Fix call to virNodeDeviceObjListFree in nodeStateReload

John Ferlan jferlan at redhat.com
Tue Jul 18 11:25:42 UTC 2017


Commit id '9c5d98fd8' missed changing this call to use driver->devs
rather than @driver->devs.

Signed-off-by: John Ferlan <jferlan at redhat.com>
---

 Pushed under build breaker rule (debian-8 and centos-6)

 src/node_device/node_device_hal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/node_device/node_device_hal.c b/src/node_device/node_device_hal.c
index b220798..7f246f0 100644
--- a/src/node_device/node_device_hal.c
+++ b/src/node_device/node_device_hal.c
@@ -744,7 +744,7 @@ nodeStateReload(void)
     VIR_INFO("Reloading HAL device state");
     nodeDeviceLock();
     VIR_INFO("Removing existing objects");
-    virNodeDeviceObjListFree(&driver->devs);
+    virNodeDeviceObjListFree(driver->devs);
     nodeDeviceUnlock();
 
     hal_ctx = DRV_STATE_HAL_CTX(driver);
-- 
2.9.4




More information about the libvir-list mailing list