|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH] hw/loongarch/virt: Fix memory leak |
Date: | Wed, 8 May 2024 23:17:52 +0200 |
User-agent: | Mozilla Thunderbird |
On 7/5/24 04:22, Song Gao wrote:
The char pointer 'ramName' point to a block of memory, but never free it. Use 'g_autofree' to automatically free it. Resolves: Coverity CID 1544773 Fixes: 0cf1478d6 ("hw/loongarch: Add numa support") Signed-off-by: Song Gao <gaosong@loongson.cn> --- hw/loongarch/virt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Thanks, patch queued to hw-misc tree.
[Prev in Thread] | Current Thread | [Next in Thread] |