aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorZongmin Zhou <zhouzongmin@kylinos.cn>2023-08-01 10:53:09 +0800
committerMaxime Ripard <mripard@kernel.org>2023-11-06 09:37:03 +0100
commit0e8b9f258baed25f1c5672613699247c76b007b5 (patch)
tree11228e4f3631d25b9e5277eb26fbf05df2a4f842 /scripts/gcc-plugins/randomize_layout_plugin.c
parent101c9f637efa1655f55876644d4439e552267527 (diff)
drm/qxl: prevent memory leak
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>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions