qemu/hw/mips
Peter Maydell bf4ee88ab6 hw/mips/boston: Fix memory leak in boston_fdt_filter() error-handling paths
Coverity points out that the error-handling paths in the
boston_fdt_filter() function don't free the fdt that was allocated.
Fix the leak by using g_autofree.

Fixes: Coverity CID 1432275

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201106175823.1650-1-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2020-11-09 00:40:44 +01:00
..
addr.c
boston.c hw/mips/boston: Fix memory leak in boston_fdt_filter() error-handling paths 2020-11-09 00:40:44 +01:00
cps.c hw/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
fuloong2e.c hw/mips: Remove exit(1) in case of missing ROM 2020-10-17 13:59:40 +02:00
gt64xxx_pci.c Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
jazz.c hw/mips: Remove exit(1) in case of missing ROM 2020-10-17 13:59:40 +02:00
Kconfig hw/mips: Remove the 'r4k' machine 2020-11-03 16:51:13 +01:00
malta.c hw/mips: Remove exit(1) in case of missing ROM 2020-10-17 13:59:40 +02:00
meson.build hw/mips: Remove the 'r4k' machine 2020-11-03 16:51:13 +01:00
mips_int.c
mipssim.c hw/mips: Remove exit(1) in case of missing ROM 2020-10-17 13:59:40 +02:00
trace-events trace-events: Fix attribution of trace points to source 2020-09-09 17:17:58 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00