[X2Go-Commits] [nx-libs] 154/219: Keystroke.c: use SAFE_free
git-admin at x2go.org
git-admin at x2go.org
Sat Sep 28 12:10:44 CEST 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit 7d25771da3eed13a2779792fa53fdac01d567bd4
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Mon Jul 22 22:26:46 2019 +0200
Keystroke.c: use SAFE_free
---
nx-X11/programs/Xserver/hw/nxagent/Keystroke.c | 4 ++--
1 file 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)
{
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list