[libvirt] [PATCH 2/2] uml:release config object when uml driver shutdown

Guannan Ren gren at redhat.com
Wed Mar 27 11:03:17 UTC 2013


---
 src/uml/uml_driver.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index b08212d..09a777c 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -640,6 +640,7 @@ umlShutdown(void) {
         virEventRemoveHandle(uml_driver->inotifyWatch);
     VIR_FORCE_CLOSE(uml_driver->inotifyFD);
     virObjectUnref(uml_driver->caps);
+    virObjectUnref(uml_driver->xmlconf);
 
     /* shutdown active VMs
      * XXX allow them to stay around & reconnect */
-- 
1.7.11.2




More information about the libvir-list mailing list