uml:release config object when uml driver shutdown

This commit is contained in:
Guannan Ren 2013-03-27 19:03:17 +08:00
parent 1cb03d4e4b
commit 02cbd8b67e
1 changed files with 1 additions and 0 deletions

View 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 */