From: Hu Tao Date: Wed, 16 Jan 2013 02:53:03 +0000 (+0800) Subject: call virstateCleanup to do the cleanup before libvirtd exits X-Git-Tag: v0.10.2.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e10d0ef1ea355cb0a3f94cb0237d3fe9253edf9;p=thirdparty%2Flibvirt.git call virstateCleanup to do the cleanup before libvirtd exits https://bugzilla.redhat.com/show_bug.cgi?id=903184 (cherry picked from commit 47e176772559f617297abb07855b8556c8e7b72e) --- diff --git a/daemon/libvirtd.c b/daemon/libvirtd.c index 0151124596..1e2669b10f 100644 --- a/daemon/libvirtd.c +++ b/daemon/libvirtd.c @@ -1371,5 +1371,7 @@ cleanup: daemonConfigFree(config); + virStateCleanup(); + return ret; }