On Thu, Nov 17, 2011 at 07:22:58PM +0100, Stefan Weil wrote: > cppcheck reported a memory leak which is fixed here. > > I also replaced the corresponding g_malloc0 by g_new0 because > that helps reviewers, and it is required by latest recommendations > anyway. > > Signed-off-by: Stefan Weil <s...@weilnetz.de> > --- > gdbstub.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-)
Thanks, applied to the trivial patches -next tree: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next Stefan