[libvirt] [PATCH] cgroup.c: avoid unconditional leaks