mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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 commited92eae84d)