]> xenbits.xensource.com Git - qemu-xen.git/commit
vfio/display: Fix potential memleak of edid info
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Mon, 1 Jul 2024 01:48:08 +0000 (09:48 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 9 Jul 2024 09:50:37 +0000 (11:50 +0200)
commitf15da599a1c5326e105425a74d2fb004a2a2649e
treeb2d719f813e0d0a44b7895b333a90c182a29c7bb
parent956b30b9cf856470612e8d2c2c4985fb7e40a970
vfio/display: Fix potential memleak of edid info

EDID related device region info is leaked in vfio_display_edid_init()
error path and VFIODisplay destroying path.

Fixes: 08479114b0de ("vfio/display: add edid support.")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/vfio/display.c