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

Re: [libvirt] [PATCH 1/2] qemu:release qemu config object when qemu driver shutdown



On 03/28/2013 12:00 AM, Martin Kletzander wrote:
On 03/27/2013 12:02 PM, Guannan Ren wrote:
---
  src/qemu/qemu_driver.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 1f9b8b2..96bf235 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -950,6 +950,7 @@ qemuShutdown(void) {
          return -1;
virNWFilterUnRegisterCallbackDriver(&qemuCallbackDriver);
+    virObjectUnref(qemu_driver->config);
      virObjectUnref(qemu_driver->activePciHostdevs);
      virObjectUnref(qemu_driver->inactivePciHostdevs);
      virObjectUnref(qemu_driver->activeUsbHostdevs);

ACK,

Martin

   Pushed, thanks for the review.

   Guannan


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