aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:34:09 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-01-05 23:34:09 +0100
commit057ce728fcb43e6b91a54f98f6f6d9ed8fe680a6 (patch)
treef8fbbf51720409b25fe23e5bdbe1b1d7cafde918 /nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
parent46ef20bdb97bc134bb855f8604828ec314716a32 (diff)
parent80b6d6b9cc456a943e307ec069c0c395c6ba650e (diff)
downloadnx-libs-057ce728fcb43e6b91a54f98f6f6d9ed8fe680a6.tar.gz
nx-libs-057ce728fcb43e6b91a54f98f6f6d9ed8fe680a6.tar.bz2
nx-libs-057ce728fcb43e6b91a54f98f6f6d9ed8fe680a6.zip
Merge branch 'uli42-pr/strings_fixes' into 3.6.x
Attributes GH PR #884: https://github.com/ArcticaProject/nx-libs/pull/884
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Keyboard.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keyboard.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
index c145e4dba..695fce40d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keyboard.c
@@ -1449,13 +1449,8 @@ static char* getKeyboardFilePath(void)
{
if ((asprintf(&keyboard_file_path, "%s/keyboard", sessionpath) == -1))
{
- SAFE_free(sessionpath);
FatalError("malloc for keyboard file path failed.");
}
- else
- {
- SAFE_free(sessionpath);
- }
}
else
{