qemu/hw/vfio
Zhenzhong Duan b4e1670c49 vfio/igd: Use g_autofree in vfio_probe_igd_bar4_quirk()
Pointer opregion, host and lpc are allocated and freed in
vfio_probe_igd_bar4_quirk(). Use g_autofree to automatically
free them.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2024-05-22 10:04:22 +02:00
..
amd-xgbe.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ap.c vfio/helpers: Make vfio_device_get_name() return bool 2024-05-22 10:04:21 +02:00
calxeda-xgmac.c Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
ccw.c vfio/ccw: Make vfio_ccw_get_region() return a bool 2024-05-22 10:04:21 +02:00
common.c vfio: Make VFIOIOMMUClass::add_window() and its wrapper return bool 2024-05-16 16:59:20 +02:00
container-base.c vfio: Make VFIOIOMMUClass::add_window() and its wrapper return bool 2024-05-16 16:59:20 +02:00
container.c vfio/cpr: Make vfio_cpr_register_container() return bool 2024-05-16 16:59:20 +02:00
cpr.c vfio/cpr: Make vfio_cpr_register_container() return bool 2024-05-16 16:59:20 +02:00
display.c vfio/display: Make vfio_display_*() return bool 2024-05-22 10:04:21 +02:00
helpers.c vfio: Use g_autofree in all call site of vfio_get_region_info() 2024-05-22 10:04:22 +02:00
igd.c vfio/igd: Use g_autofree in vfio_probe_igd_bar4_quirk() 2024-05-22 10:04:22 +02:00
iommufd.c backends/iommufd: Make iommufd_backend_*() return bool 2024-05-16 16:59:20 +02:00
Kconfig hw/vfio: Move the IGD quirk code to a separate file 2020-02-06 11:55:42 -07:00
meson.build vfio: register container for cpr 2024-03-08 22:10:13 +01:00
migration.c vfio/migration: Enhance VFIO migration state tracing 2024-05-16 16:59:20 +02:00
pci-quirks.c vfio/pci-quirks: Make vfio_add_*_cap() return bool 2024-05-22 10:04:22 +02:00
pci.c vfio: Use g_autofree in all call site of vfio_get_region_info() 2024-05-22 10:04:22 +02:00
pci.h vfio/pci-quirks: Make vfio_add_*_cap() return bool 2024-05-22 10:04:22 +02:00
platform.c vfio/platform: Make vfio_populate_device() and vfio_base_device_init() return bool 2024-05-22 10:04:21 +02:00
spapr.c vfio: Make VFIOIOMMUClass::add_window() and its wrapper return bool 2024-05-16 16:59:20 +02:00
trace-events vfio/migration: Enhance VFIO migration state tracing 2024-05-16 16:59:20 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00