[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 2/2] bhyve: fix invalid hostsysinfo freeing



29.03.2016 15:29, Daniel P. Berrange пишет:
On Tue, Mar 29, 2016 at 03:20:56PM +0300, Maxim Nestratov wrote:
---
  src/bhyve/bhyve_driver.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bhyve/bhyve_driver.c b/src/bhyve/bhyve_driver.c
index 4d341b5..5526bb0 100644
--- a/src/bhyve/bhyve_driver.c
+++ b/src/bhyve/bhyve_driver.c
@@ -1172,7 +1172,7 @@ bhyveStateCleanup(void)
      virObjectUnref(bhyve_driver->domains);
      virObjectUnref(bhyve_driver->caps);
      virObjectUnref(bhyve_driver->xmlopt);
-    virObjectUnref(bhyve_driver->hostsysinfo);
+    virSysinfoDefFree(bhyve_driver->hostsysinfo);
      virObjectUnref(bhyve_driver->closeCallbacks);
      virObjectEventStateFree(bhyve_driver->domainEventState);
ACK


Regards,
Daniel
Thanks, pushed.
Maxim


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]