aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-07-22 22:26:46 +0200
committerUlrich Sibiller <uli42@gmx.de>2019-08-06 21:57:32 +0200
commit7d25771da3eed13a2779792fa53fdac01d567bd4 (patch)
treece4e6d29e88680feb35f3ebd802a4c13e42bfc81 /nx-X11/programs
parent8080ad26a72f8e72fb4c405f5e8a8d1b82c1e30d (diff)
downloadnx-libs-7d25771da3eed13a2779792fa53fdac01d567bd4.tar.gz
nx-libs-7d25771da3eed13a2779792fa53fdac01d567bd4.tar.bz2
nx-libs-7d25771da3eed13a2779792fa53fdac01d567bd4.zip
Keystroke.c: use SAFE_free
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Keystroke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
index 662da6b04..d524e9e0b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c
@@ -294,7 +294,7 @@ void nxagentInitKeystrokes(Bool force)
if (force) {
if (map != default_map)
{
- free(map);
+ SAFE_free(map);
map = default_map;
}
fprintf(stderr, "Info: re-reading keystrokes configuration\n");
@@ -414,7 +414,7 @@ void nxagentInitKeystrokes(Bool force)
#endif
filename = NULL;
}
- free(homepath);
+ SAFE_free(homepath);
if (map == default_map)
{