From: John Ferlan Date: Tue, 18 Jul 2017 11:19:05 +0000 (-0400) Subject: nodedev: Fix call to virNodeDeviceObjListFree in nodeStateReload X-Git-Tag: v3.6.0-rc1~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a957dd181f29f6ebdac012161bfd5a2e48b1735;p=thirdparty%2Flibvirt.git nodedev: Fix call to virNodeDeviceObjListFree in nodeStateReload Commit id '9c5d98fd8' missed changing this call to use driver->devs rather than @driver->devs. --- diff --git a/src/node_device/node_device_hal.c b/src/node_device/node_device_hal.c index b220798768..7f246f0564 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);