commit | b4e1670c494165d4186930d56f692857f4fec89b | [log] [tgz] |
---|---|---|
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | Wed May 22 12:40:13 2024 +0800 |
committer | Cédric Le Goater <clg@redhat.com> | Wed May 22 10:04:22 2024 +0200 |
tree | 8618218a98b12299f90f48c9819133369fc4728c | |
parent | 0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a [diff] |
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>