qemu-riscv
[Top][All Lists]
Advanced

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

Re: [Qemu-riscv] [PATCH v1 1/1] riscv: spike: Fix memory leak in the boa


From: Peter Maydell
Subject: Re: [Qemu-riscv] [PATCH v1 1/1] riscv: spike: Fix memory leak in the board init
Date: Tue, 6 Nov 2018 13:25:53 +0000

On 5 November 2018 at 19:44, Alistair Francis <address@hidden> wrote:
> Coverity caught a malloc() call that was never freed. This patch ensures
> that we free the memory but also updates the allocation to use
> g_strdup_printf() instead of malloc().
>
> Signed-off-by: Alistair Francis <address@hidden>
> Suggested-by: Peter Maydell <address@hidden>

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

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