Files
linux-bredos/drivers/gpu/drm/qxl
Zongmin Zhou 01834d420e drm/qxl: prevent memory leak
[ Upstream commit 0e8b9f258b ]

The allocated memory for qdev->dumb_heads should be released
in qxl_destroy_monitors_object before qxl suspend.
otherwise,qxl_create_monitors_object will be called to
reallocate memory for qdev->dumb_heads after qxl resume,
it will cause memory leak.

Signed-off-by: Zongmin Zhou <zhouzongmin@kylinos.cn>
Link: https://lore.kernel.org/r/20230801025309.4049813-1-zhouzongmin@kylinos.cn
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 17:19:47 +00:00
..
2022-12-19 09:50:06 +01:00
2023-11-28 17:19:47 +00:00
2023-08-18 06:57:38 +10:00
2023-08-18 06:57:38 +10:00
2023-08-18 06:57:38 +10:00