[PATCH] drm/qxl: prevent memory leak

Dave Airlie airlied at gmail.com
Wed Nov 1 02:58:17 UTC 2023


On Wed, 22 Mar 2023 at 19:04, Zongmin Zhou <zhouzongmin at kylinos.cn> 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.
>
> Signed-off-by: Zongmin Zhou<zhouzongmin at kylinos.cn>

Sorry for nobody picking up on this, qxl isn't really well staffed,

Reviewed-by: Dave Airlie <airlied at redhat.com>

Could one of the misc maintainers pick this up?

Dave.


More information about the dri-devel mailing list