diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-10-18 16:24:32 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-11-03 13:42:48 +0100 |
commit | 12b22e97e7f66bbc9ede261591ecf692b8f1a54a (patch) | |
tree | 88fbde648670da268f2b6c1e5d7b1b4cf2f4f6e3 /nx-X11/programs/Xserver | |
parent | ca7b331031151bec7136b9a5d85f2652cb2f1e1c (diff) | |
download | nx-libs-12b22e97e7f66bbc9ede261591ecf692b8f1a54a.tar.gz nx-libs-12b22e97e7f66bbc9ede261591ecf692b8f1a54a.tar.bz2 nx-libs-12b22e97e7f66bbc9ede261591ecf692b8f1a54a.zip |
yConnDis.c: fix memory leak
Direct leak of 3 byte(s) in 1 object(s) allocated from:
#0 0xb79e85d4 in __interceptor_malloc (/lib/i386-linux-gnu/libasan.so.5+0xeb5d4)
#1 0xb770b635 in copystring /home/uli/work/nx/nx-libs/nx-X11/lib/src/ConnDis.c:96
#2 0xb770ba56 in _X11TransConnectDisplay /home/uli/work/nx/nx-libs/nx-X11/lib/src/ConnDis.c:229
#3 0xb776b4fd in XOpenDisplay /home/uli/work/nx/nx-libs/nx-X11/lib/src/OpenDis.c:215
#4 0x63e2fd in nxagentInternalOpenDisplay /home/uli/work/nx/nx-libs/nx-X11/programs/Xserver/hw/nxagent/Display.c:608
#5 0x63fa03 in nxagentOpenDisplay /home/uli/work/nx/nx-libs/nx-X11/programs/Xserver/hw/nxagent/Display.c:1140
#6 0x694b5a in InitOutput /home/uli/work/nx/nx-libs/nx-X11/programs/Xserver/hw/nxagent/Init.c:305
#7 0x5f7b11 in main /home/uli/work/nx/nx-libs/nx-X11/programs/Xserver/dix/main.c:278
#8 0xb6f04b40 in __libc_start_main ../csu/libc-start.c:308
I have not investigated the exact location where an XFree() was missing but added multiple
Xfree() calls whereever appropriate.
Fixes ArcticaProject/nx-libs#951
Diffstat (limited to 'nx-X11/programs/Xserver')
0 files changed, 0 insertions, 0 deletions