diff options
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | 2024-05-22 12:40:12 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2024-05-22 10:04:22 +0200 |
commit | 0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a (patch) | |
tree | 297033440f424cf363d1c29b28daa36fe7135d5e /Kconfig | |
parent | 0a0bda0acd529161d5cbed6c603ab89674a9af8c (diff) | |
download | qemu-0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a.zip qemu-0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a.tar.gz qemu-0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a.tar.bz2 |
vfio: Use g_autofree in all call site of vfio_get_region_info()
There are some exceptions when pointer to vfio_region_info is reused.
In that case, the pointed memory is freed manually.
Suggested-by: Cédric Le Goater <clg@redhat.com>
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 'Kconfig')
0 files changed, 0 insertions, 0 deletions