Files
xserver/dix
Alan Coopersmith 6e125d9c98 dix: avoid memory leak in ProcListProperties()
Reported in #1817:
xwayland-24.1.6/redhat-linux-build/../dix/property.c:584:5:
 warning[-Wanalyzer-malloc-leak]: leak of ‘pAtoms’

Can happen if, and only if, XaceHookPropertyAccess() blocks access
to all properties, so that numProps ends up zero on the second loop.

Fixes: 39f337fd4 ("dix: ProcListProperties: skip unneeded work if numProps is 0")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2078>
(cherry picked from commit ed92eae84d)
2026-01-25 10:40:03 -08:00
..
2020-07-05 13:07:33 -07:00
2015-07-08 16:41:29 -04:00
2026-01-25 10:39:57 -08:00
2019-10-30 16:17:04 +00:00
2015-04-21 16:57:07 -07:00
2026-01-25 10:40:00 -08:00
2026-01-19 12:32:20 -08:00