qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] cris-dis: Clean memory allocation


From: Edgar E. Iglesias
Subject: Re: [Qemu-devel] [PATCH] cris-dis: Clean memory allocation
Date: Tue, 10 Jan 2012 09:38:47 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jan 09, 2012 at 07:23:42PM +0100, Stefan Weil wrote:
> The old code used sizeof(const struct cris_opcode **) where it should
> have used sizeof(const struct cris_opcode *). As both sizes give the
> same value, the resulting binary was ok, but static code analyzers
> like coverity and clang complained.
> 
> This is fixed here, and the code is also simplified by using g_new0.
> 
> Signed-off-by: Stefan Weil <address@hidden>

Applied, thanks Stefan.

Cheers



reply via email to

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