Re: [Spice-devel] [PATCH AUTOSEL 6.5 2/6] drm/qxl: prevent memory leak

2023-11-14 Thread Frediano Ziglio
Il giorno mer 15 nov 2023 alle ore 06:57 Sasha Levin ha scritto: > > From: Zongmin Zhou > > [ Upstream commit 0e8b9f258baed25f1c5672613699247c76b007b5 ] > > The allocated memory for qdev->dumb_heads should be released > in qxl_destroy_monitors_object before qxl suspend. >

[Spice-devel] [PATCH AUTOSEL 6.5 2/6] drm/qxl: prevent memory leak

2023-11-14 Thread Sasha Levin
From: Zongmin Zhou [ Upstream commit 0e8b9f258baed25f1c5672613699247c76b007b5 ] 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