aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-05-22 12:40:12 +0800
committerCédric Le Goater <clg@redhat.com>2024-05-22 10:04:22 +0200
commit0d3e89bea8ff2fb74b829d80a8e3ebe05b80614a (patch)
tree297033440f424cf363d1c29b28daa36fe7135d5e /os-win32.c
parent0a0bda0acd529161d5cbed6c603ab89674a9af8c (diff)
downloadqemu-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 'os-win32.c')
0 files changed, 0 insertions, 0 deletions