xserver/composite
Mikhail Dmitrichenko 4acdba224d composite: fix potential mem leak in PanoramiXCompositeNameWindowPixmap
newPix leaks if AddResource() call failes inside the FOR_NSCREENS
loop (per-screen pixmap IDs).

free newPix in mentioned execution path to prevent potential leak.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko222@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2173>
2026-04-16 22:22:19 +00:00
..
compalloc.c composite: Skip copying parent pixmap contents when possible 2026-02-14 12:37:18 -08:00
compext.c composite: fix potential mem leak in PanoramiXCompositeNameWindowPixmap 2026-04-16 22:22:19 +00:00
compinit.c dix: unexport Ones() 2026-01-25 10:39:57 -08:00
compint.h Remove "All rights reserved" from Oracle copyright notices 2023-02-25 09:40:41 -08:00
compositeext.h composite: Expose CompositeIsImplicitRedirectException 2023-07-18 09:34:39 +00:00
compoverlay.c rename remaining RT_* defines to X11_RESTYPE_* 2026-01-19 12:48:30 -08:00
compwindow.c prevent name clash on Windows w/ RT_* defines 2026-01-19 12:48:30 -08:00
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00