[PATCH] drm/qxl: prevent memory leak

Maxime Ripard mripard at kernel.org
Mon Nov 6 09:49:45 UTC 2023


Hi,

On Wed, Nov 01, 2023 at 12:58:17PM +1000, Dave Airlie wrote:
> 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?

I just applied it to drm-misc-fixes

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20231106/a64f0e83/attachment-0001.sig>


More information about the dri-devel mailing list