1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00

nodedev: Fix call to virNodeDeviceObjListFree in nodeStateReload

Commit id '9c5d98fd8' missed changing this call to use driver->devs
rather than @driver->devs.
This commit is contained in:
John Ferlan 2017-07-18 07:19:05 -04:00
parent 5d32b5db3c
commit 0a957dd181

View 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);