]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
nodedev: Fix call to virNodeDeviceObjListFree in nodeStateReload
authorJohn Ferlan <jferlan@redhat.com>
Tue, 18 Jul 2017 11:19:05 +0000 (07:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 18 Jul 2017 11:19:05 +0000 (07:19 -0400)
Commit id '9c5d98fd8' missed changing this call to use driver->devs
rather than @driver->devs.

src/node_device/node_device_hal.c

index b220798768e87ea37c9e84102aedeecdaf4fbc70..7f246f0564e0e73ad64038e8ce5e282450448796 100644 (file)
@@ -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);