summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-10-17 12:19:02 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2025-10-26 19:12:58 +0300
commit9837f9fcb7eb3f62a49c988c41e2bdadd86de4e2 (patch)
tree8eeb70481d89d1e824bdbb298efa87f80e9f321f /tools/lib/python
parent5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b (diff)
downloadlinux-9837f9fcb7eb3f62a49c988c41e2bdadd86de4e2.tar.xz
drm/gem-atomic: Reset plane state to NULL if allocation failed
Unconditionally reset plane->state to NULL if the allocation of the shadow plane state fails. Avoids an invalid address in the field. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20251017091919.58770-1-tzimmermann@suse.de
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions