Re: [Qemu-devel] [PATCH v2] gdbstub: Fix memory leak

2011-11-19 Thread Blue Swirl
Thanks, applied. On Fri, Nov 11, 2011 at 21:09, Stefan Weil wrote: > Am 18.10.2011 22:25, schrieb Stefan Weil: >> >> cppcheck report: >>   gdbstub.c:1781: error: Memory leak: s >> >> Rearranging of the code avoids the leak. >> >> v2: >> Replace the g_malloc0() by g_new0() (suggested by Stuart Bra

Re: [Qemu-devel] [PATCH v2] gdbstub: Fix memory leak

2011-11-11 Thread Stefan Weil
Am 18.10.2011 22:25, schrieb Stefan Weil: cppcheck report: gdbstub.c:1781: error: Memory leak: s Rearranging of the code avoids the leak. v2: Replace the g_malloc0() by g_new0() (suggested by Stuart Brady). Signed-off-by: Stefan Weil --- gdbstub.c | 14 -- 1 files changed,

[Qemu-devel] [PATCH v2] gdbstub: Fix memory leak

2011-10-18 Thread Stefan Weil
cppcheck report: gdbstub.c:1781: error: Memory leak: s Rearranging of the code avoids the leak. v2: Replace the g_malloc0() by g_new0() (suggested by Stuart Brady). Signed-off-by: Stefan Weil --- gdbstub.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/