]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
call virstateCleanup to do the cleanup before libvirtd exits
authorHu Tao <hutao@cn.fujitsu.com>
Wed, 16 Jan 2013 02:53:03 +0000 (10:53 +0800)
committerEric Blake <eblake@redhat.com>
Wed, 23 Jan 2013 15:38:15 +0000 (08:38 -0700)
https://bugzilla.redhat.com/show_bug.cgi?id=903184

(cherry picked from commit 47e176772559f617297abb07855b8556c8e7b72e)

daemon/libvirtd.c

index 01511245962c7a636cb0f6c8391a569f7649ff8b..1e2669b10f1cc544b820fb78fa9bb5d01467653f 100644 (file)
@@ -1371,5 +1371,7 @@ cleanup:
 
     daemonConfigFree(config);
 
+    virStateCleanup();
+
     return ret;
 }