diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2024-09-03 17:22:18 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2024-09-05 13:12:37 +0100 |
| commit | c2a33809e5c119f849625132544c19a180115549 (patch) | |
| tree | 23fd0b626776dfb91b59ab2712e9d32e1a3e0085 /hw/net/virtio-net.c | |
| parent | 5b836d001aa8fbf4a33d50b4edeb1c6f0985999d (diff) | |
| download | focaccia-qemu-c2a33809e5c119f849625132544c19a180115549.tar.gz focaccia-qemu-c2a33809e5c119f849625132544c19a180115549.zip | |
hw/arm/sbsa-ref: Don't leak string in sbsa_fdt_add_gic_node()
In sbsa_fdt_add_gic_node() we g_strdup_printf() two nodename strings, but only free one. Since the string is actually entirely constant and we don't make any use of printf's format-string operations, we can drop the g_strdup_printf() use entirely. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Gavin Shan <gshan@redhat.com> Message-id: 20240822162323.706382-1-peter.maydell@linaro.org
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions