aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-01-07 20:01:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-05-07 12:55:03 +0200
commit2594ca998798ac867b903083eb697c59f37e693c (patch)
tree6d2c2cae7d35f04100c3b4e757e84a7ffb99568d /nx-X11/programs
parent85d0717b0b149bd91686e176164dd8af824fdaab (diff)
downloadnx-libs-2594ca998798ac867b903083eb697c59f37e693c.tar.gz
nx-libs-2594ca998798ac867b903083eb697c59f37e693c.tar.bz2
nx-libs-2594ca998798ac867b903083eb697c59f37e693c.zip
Atoms.c: add missing free
not a real memleak since it is followed by a FatalError...
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Atoms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
index 67e4d0c0a..c7b3882fc 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Atoms.c
@@ -469,6 +469,8 @@ static int nxagentInitAtomMap(char **atomNameList, int count, Atom *atomsRet)
if ((atom_list == NULL) || (name_list == NULL))
{
+ SAFE_free(atom_list);
+ SAFE_free(name_list);
FatalError("nxagentInitAtomMap: malloc failed\n");
}