Re: [PATCH] qemu: plug memory leak

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

 



2010/11/24 Eric Blake <eblake@xxxxxxxxxx>:
> https://bugzilla.redhat.com/show_bug.cgi?id=656795
>
> * src/qemu/qemu_monitor.c (qemuMonitorFree): Also free the buffer.
> ---
> Âsrc/qemu/qemu_monitor.c | Â Â1 +
> Â1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
> index 86ed82f..85d0d0f 100644
> --- a/src/qemu/qemu_monitor.c
> +++ b/src/qemu/qemu_monitor.c
> @@ -199,6 +199,7 @@ static void qemuMonitorFree(qemuMonitorPtr mon)
> Â Â if (virCondDestroy(&mon->notify) < 0)
> Â Â {}
> Â Â virMutexDestroy(&mon->lock);
> + Â ÂVIR_FREE(mon->buffer);
> Â Â VIR_FREE(mon);
> Â}
>
> --
> 1.7.3.2
>

ACK.

Matthias

--
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]