libXcursor: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 13 23:15:39 UTC 2023


 src/file.c |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 5e0f8347cebef2b3a9f5d75ca254aabaa0bca259
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Oct 8 10:48:25 2023 -0700

    XcursorXcFileLoad: plug memory leak in error paths
    
    Found by gcc analyzer:
    file.c: In function ‘XcursorXcFileLoad’:
    file.c:782:8: warning: leak of ‘fileHeader’ [CWE-401] [-Wanalyzer-malloc-leak]
      782 |     if (!images)
          |        ^
    
    Fixes: 3b84b14 ("Initial revision")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list