diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2016-12-14 11:49:40 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-10 19:44:22 +0100 |
commit | 4e545710f9c4d14ed8188e4f89b8d9c2da7975ef (patch) | |
tree | ae41102d295dc7616948b1ee23eb76ce9b8239d3 /nx-X11/programs/Xserver | |
parent | 1b6b76b5bfb849586c73a9601a05eda39ca87ada (diff) | |
download | nx-libs-4e545710f9c4d14ed8188e4f89b8d9c2da7975ef.tar.gz nx-libs-4e545710f9c4d14ed8188e4f89b8d9c2da7975ef.tar.bz2 nx-libs-4e545710f9c4d14ed8188e4f89b8d9c2da7975ef.zip |
Rootless.c: fix possible memleak
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Rootless.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c index 34902456d..64ad83bba 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c @@ -334,6 +334,7 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren) if (!ntoplevel) { + free(toplevel); return; } |