Re: [PATCH] qemu: unref cfg after TerminateMachine has been called

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/21/14 12:25, Martin Kletzander wrote:
> Commit 60627f6d added the code that requests driver cfg, but forgot to

Commit ID doesn't exist in libvirt.git

> unref it.
> 
> Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
> ---
>  src/qemu/qemu_cgroup.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
> index fa894c5..b5bdb36 100644
> --- a/src/qemu/qemu_cgroup.c
> +++ b/src/qemu/qemu_cgroup.c
> @@ -1222,6 +1222,8 @@ qemuRemoveCgroup(virQEMUDriverPtr driver,
>              VIR_DEBUG("Failed to terminate cgroup for %s", vm->def->name);
>      }
> 
> +    virObjectUnref(cfg);
> +
>      return virCgroupRemove(priv->cgroup);
>  }
> 

ACK with the commit ID tweaked.

Peter

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]