From: Guannan Ren Date: Wed, 27 Mar 2013 11:03:17 +0000 (+0800) Subject: uml:release config object when uml driver shutdown X-Git-Tag: v1.0.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02cbd8b67edd7e0da3a079d4e1dc223bae242ae2;p=thirdparty%2Flibvirt.git uml:release config object when uml driver shutdown --- diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c index b08212d004..09a777c1f8 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 */