]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
uml:release config object when uml driver shutdown
authorGuannan Ren <gren@redhat.com>
Wed, 27 Mar 2013 11:03:17 +0000 (19:03 +0800)
committerGuannan Ren <gren@redhat.com>
Thu, 28 Mar 2013 04:07:35 +0000 (12:07 +0800)
src/uml/uml_driver.c

index b08212d004dd0128147bcfa11ffedbd27a08e0a7..09a777c1f8246c7b4f9df5dfa1ebaefbcc394858 100644 (file)
@@ -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 */