commit | 514855e18fcdc3378fb925046d89a0f1493336db | [log] [tgz] |
---|---|---|
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | Wed May 22 12:40:09 2024 +0800 |
committer | Cédric Le Goater <clg@redhat.com> | Wed May 22 10:04:21 2024 +0200 |
tree | 58b54055885c0a7b4cfca5db668d0d0bf9e3ede8 | |
parent | b771a40f9eecbffee70a7425e5a96feb58f85d99 [diff] |
vfio/pci: Use g_autofree for vfio_region_info pointer Pointer opregion is freed after vfio_pci_igd_opregion_init(). Use 'g_autofree' to avoid the g_free() calls. 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>