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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]