Searched hist:f3758413 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/vfio/ |
H A D | iommufd.c | f3758413 Tue May 07 01:42:43 CDT 2024 Zhenzhong Duan <zhenzhong.duan@intel.com> vfio/pci: Use g_autofree in iommufd_cdev_get_info_iova_range()
Local pointer info is freed before return from iommufd_cdev_get_info_iova_range().
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>
|