diff options
| author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-05-22 12:40:13 +0800 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2024-05-22 10:04:22 +0200 |
| commit | b4e1670c494165d4186930d56f692857f4fec89b (patch) | |
| tree | 8618218a98b12299f90f48c9819133369fc4728c /hw/core/machine.c | |
| parent | 0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a (diff) | |
| download | focaccia-qemu-b4e1670c494165d4186930d56f692857f4fec89b.tar.gz focaccia-qemu-b4e1670c494165d4186930d56f692857f4fec89b.zip | |
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>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions