[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline comp
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion |
Date: |
Mon, 11 Jun 2012 13:19:37 +0100 |
On Mon, May 14, 2012 at 8:47 PM, Stefan Weil <address@hidden> wrote:
> Each string which is shown during readline completion in the QEMU monitor
> is allocated dynamically but currently never deallocated.
>
> Add the missing loop which calls g_free for the allocated strings.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
> readline.c | 3 +++
> 1 file changed, 3 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>