qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] linux-user: Remove redundant null check and rep


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] linux-user: Remove redundant null check and replace free by g_free
Date: Tue, 4 Sep 2012 21:40:14 +0100

On 4 September 2012 21:14, Stefan Weil <address@hidden> wrote:
> Report from smatch:
>
> linux-user/syscall.c:3632 do_ioctl_dm(220) info:
>  redundant null check on big_buf calling free()
>
> 'big_buf' was allocated by g_malloc0, therefore free was also
> replaced by g_free.
>
> Signed-off-by: Stefan Weil <address@hidden>

Reviewed-by: Peter Maydell <address@hidden>

-- PMM



reply via email to

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