[Spice-devel] [RESEND PATCH] drm/qxl: prevent memory leak

Maxime Ripard mripard at kernel.org
Mon Nov 6 09:48:17 UTC 2023


On Tue, 01 Aug 2023 10:53:09 +0800, Zongmin Zhou wrote:
> 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.
> 
> 
> [...]

Applied to drm/drm-misc (drm-misc-fixes).

Thanks!
Maxime



More information about the Spice-devel mailing list