File 9661ac2f-qemu-unref-cfg.patch of Package libvirt.11695

commit 9661ac2f46eeb4690a25dfc48bdf9dc9a4dfe822
Author: Martin Kletzander <mkletzan@redhat.com>
Date:   Tue Oct 21 11:44:13 2014 +0200

    qemu: unref cfg after TerminateMachine has been called
    
    Commit 4882618ed13b469d92fa8b2b4a158fdb17dbe9f1 added the code that
    requests driver cfg, but forgot to unref it.
    
    Signed-off-by: Martin Kletzander <mkletzan@redhat.com>

Index: libvirt-1.2.5/src/qemu/qemu_cgroup.c
===================================================================
--- libvirt-1.2.5.orig/src/qemu/qemu_cgroup.c
+++ libvirt-1.2.5/src/qemu/qemu_cgroup.c
@@ -1046,6 +1046,8 @@ qemuRemoveCgroup(virQEMUDriverPtr driver
             VIR_DEBUG("Failed to terminate cgroup for %s", vm->def->name);
     }
 
+    virObjectUnref(cfg);
+
     return virCgroupRemove(priv->cgroup);
 }