Add missing freeing of 'bhyve_driver->pidfile'.
Signed-off-by: Roman Bogorodskiy <[email protected]>
---
src/bhyve/bhyve_driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
index a0d97d3f86..8628a48621 100644
--- a/src/bhyve/bhyve_driver.c
+++ b/src/bhyve/bhyve_driver.c
@@ -1379,6 +1379,7 @@ bhyveStateCleanup(void)
virPidFileRelease(BHYVE_STATE_DIR, "driver", bhyve_driver->lockFD);
virMutexDestroy(&bhyve_driver->lock);
+ VIR_FREE(bhyve_driver->pidfile);
VIR_FREE(bhyve_driver);
return 0;
--
2.52.0