diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 23:34:09 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-01-05 23:34:09 +0100 |
commit | 057ce728fcb43e6b91a54f98f6f6d9ed8fe680a6 (patch) | |
tree | f8fbbf51720409b25fe23e5bdbe1b1d7cafde918 /nx-X11/programs/Xserver/hw/nxagent/Keyboard.c | |
parent | 46ef20bdb97bc134bb855f8604828ec314716a32 (diff) | |
parent | 80b6d6b9cc456a943e307ec069c0c395c6ba650e (diff) | |
download | nx-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.c | 5 |
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 { |