Re: [PATCH v2 1/2] vfio/display: Fix potential memleak of edid info

2024-07-02 Thread Marc-André Lureau
On Mon, Jul 1, 2024 at 5:51 AM Zhenzhong Duan wrote: > 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 > Reviewed-by: Marc-André Lureau

Re: [PATCH v2 1/2] vfio/display: Fix potential memleak of edid info

2024-07-02 Thread Cédric Le Goater
On 7/1/24 3:48 AM, Zhenzhong Duan wrote: 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 Reviewed-by: Cédric Le Goater Thanks, C. ---

[PATCH v2 1/2] vfio/display: Fix potential memleak of edid info

2024-06-30 Thread Zhenzhong Duan
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 --- hw/vfio/display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/vfio/display.c b