|
From: | Gavin Shan |
Subject: | Re: [PATCH-for-9.0 14/25] backends: Use g_autofree in HostMemoryBackendClass::alloc() handlers |
Date: | Mon, 4 Dec 2023 14:55:35 +1000 |
User-agent: | Mozilla Thunderbird |
On 11/21/23 07:32, Philippe Mathieu-Daudé wrote:
In preparation of having HostMemoryBackendClass::alloc() handlers return a boolean, have them use g_autofree. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- backends/hostmem-epc.c | 3 +-- backends/hostmem-file.c | 3 +-- backends/hostmem-memfd.c | 3 +-- backends/hostmem-ram.c | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Gavin Shan <gshan@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |