[Top][All Lists]

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

Re: [Qemu-trivial] [PATCH] gdbstub: Fix GDBRegisterState memory leak and

From: Stefan Hajnoczi
Subject: Re: [Qemu-trivial] [PATCH] gdbstub: Fix GDBRegisterState memory leak and use g_new0 to allocate it
Date: Fri, 18 Nov 2011 11:32:53 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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 <address@hidden>
> ---
>  gdbstub.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)

Thanks, applied to the trivial patches -next tree:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]