You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/ppc
BALATON Zoltan 48387ec492
hw/ppc/pegasos: Fix memory leak
Commit 9099b430a4 introduced an early return that caused a leak of a
GString. Allocate it later to avoid the leak.

Fixes: 9099b430a4 (hw/ppc/pegasos2: Change device tree generation)
Resolves: Coverity CID 1642027
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Link: https://lore.kernel.org/r/20251101165236.76E8B5972E3@zero.eik.bme.hu
Message-ID: <20251101165236.76E8B5972E3@zero.eik.bme.hu>
5 days ago
..
Kconfig hw/ppc/pegasos2: Rename to pegasos 2 weeks ago
amigaone.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
e500-ccsr.h
e500.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
e500.h hw/ppc/e500: Move clock and TB frequency to machine class 5 months ago
e500plat.c hw/ppc/e500: Move clock and TB frequency to machine class 5 months ago
fdt.c
fw_cfg.c
mac_newworld.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
mac_oldworld.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
meson.build hw/ppc/pegasos2: Rename to pegasos 2 weeks ago
mpc8544_guts.c include: Rename sysemu/ -> system/ 11 months ago
mpc8544ds.c hw/ppc/e500: Move clock and TB frequency to machine class 5 months ago
pef.c qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2 weeks ago
pegasos.c hw/ppc/pegasos: Fix memory leak 5 days ago
pnv.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
pnv_adu.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_bmc.c ppc/pnv: Move the PNOR LPC address into struct PnvPnor 8 months ago
pnv_chiptod.c ppc/pnv: Add ChipTOD model for Power11 2 months ago
pnv_core.c ppc/pnv: Introduce Pnv11Chip 2 months ago
pnv_homer.c qom: Have class_init() take a const data argument 7 months ago
pnv_i2c.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_lpc.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_n1_chiplet.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_nest_pervasive.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_occ.c hw/ppc/pnv_occ: skip automatic zero-init of large struct 5 months ago
pnv_pnor.c qom: Have class_init() take a const data argument 7 months ago
pnv_psi.c qom: Make InterfaceInfo[] uses const 7 months ago
pnv_sbe.c qom: Have class_init() take a const data argument 7 months ago
pnv_xscom.c include: Rename sysemu/ -> system/ 11 months ago
ppc.c cpus: properly kick CPUs out of inner execution loop 2 months ago
ppc4xx_devs.c qom: Have class_init() take a const data argument 7 months ago
ppc4xx_sdram.c qom: Have class_init() take a const data argument 7 months ago
ppc440.h ppc440: Remove ppc460ex_pcie_init legacy init function 2 years ago
ppc440_bamboo.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
ppc440_uc.c qom: Have class_init() take a const data argument 7 months ago
ppc_booke.c hw/ppc: Support for an IBM PPE42 CPU decrementer 2 months ago
ppce500_spin.c hw/ppc: Do not open-code cpu_resume() in spin_kick() 1 month ago
ppe42_machine.c hw/ppc: Add a test machine for the IBM PPE42 CPU 2 months ago
prep.c audio: move audio.h under include/qemu/ 2 weeks ago
prep_systemio.c qom: Have class_init() take a const data argument 7 months ago
rs6000_mc.c qom: Have class_init() take a const data argument 7 months ago
sam460ex.c hw/ppc/sam460ex: Update u-boot-sam460ex 2 weeks ago
spapr.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
spapr_caps.c ppc/spapr: remove deprecated machine pseries-4.0 3 weeks ago
spapr_cpu_core.c qom: Constify TypeInfo::class_data 7 months ago
spapr_drc.c qom: Have class_init() take a const data argument 7 months ago
spapr_events.c hw/ppc/spapr: Inline few SPAPR_IRQ_* uses 3 weeks ago
spapr_fadump.c hw/ppc: Fix memory leak in get_cpu_state_data() 2 weeks ago
spapr_hcall.c ppc/spapr: remove deprecated machine pseries-3.1 3 weeks ago
spapr_iommu.c qom: Have class_init() take a const data argument 7 months ago
spapr_irq.c ppc/spapr: Cleanup MSI IRQ number handling 2 weeks ago
spapr_nested.c include: Remove 'exec/exec-all.h' 7 months ago
spapr_numa.c spapr: Remove support for NVIDIA V100 GPU with NVLink2 2 years ago
spapr_nvdimm.c qom: Have class_init() take a const data argument 7 months ago
spapr_ovec.c exec/cpu-all: remove system/memory include 7 months ago
spapr_pci.c ppc/spapr: Cleanup MSI IRQ number handling 2 weeks ago
spapr_pci_vfio.c include/hw/vfio/vfio-container.h: rename file to vfio-container-legacy.h 2 months ago
spapr_rng.c qom: Have class_init() take a const data argument 7 months ago
spapr_rtas.c char: rename CharBackend->CharFrontend 2 weeks ago
spapr_rtas_ddw.c spapr/ddw: Implement 64bit query extension 3 years ago
spapr_rtc.c qom: Have class_init() take a const data argument 7 months ago
spapr_tpm_proxy.c hw/ppc/spapr_tpm_proxy: skip automatic zero-init of large arrays 5 months ago
spapr_vhyp_mmu.c target/ppc: Unexport some functions from mmu-book3s-v3.h 1 year ago
spapr_vio.c ppc/spapr: remove deprecated machine pseries-3.0 3 weeks ago
spapr_vof.c include: Rename sysemu/ -> system/ 11 months ago
trace-events ppc/pnv: Begin a more complete ADU LPC model for POWER9/10 1 year ago
trace.h
virtex_ml507.c hw/ppc: Pass error_fatal to load_image_targphys() 2 weeks ago
vof.c ppc/vof: Make nextprop behave more like Open Firmware 3 weeks ago