Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-06-12 Thread Luiz Capitulino
On Sat, 09 Jun 2012 23:36:26 +0200 Stefan Weil wrote: > Am 22.05.2012 22:24, schrieb Stefan Weil: > > Am 14.05.2012 21:47, schrieb Stefan Weil: > >> Each string which is shown during readline completion in the QEMU > >> monitor > >> is allocated dynamically but currently never deallocated. > >>

Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-06-11 Thread Stefan Hajnoczi
On Mon, May 14, 2012 at 8:47 PM, Stefan Weil 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 > --- >

Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-06-09 Thread Stefan Weil
Am 22.05.2012 22:24, schrieb Stefan Weil: Am 14.05.2012 21:47, schrieb Stefan Weil: 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

Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-05-22 Thread Stefan Weil
Am 14.05.2012 21:47, schrieb Stefan Weil: 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 --- readline.c |3 +++

[Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-05-14 Thread Stefan Weil
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 --- readline.c |3 +++ 1 file changed, 3 insertions(+) diff --gi