Files
xserver/dix
Alan Coopersmith ed92eae84d 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>
2025-10-17 18:04:36 +00:00
..
2020-07-05 13:07:33 -07:00
2025-02-11 19:13:01 +01:00
2024-04-15 23:10:31 +00:00
2025-09-06 17:01:39 +00:00
2025-09-06 17:01:39 +00:00
2024-03-05 16:57:52 +01:00