Commit 7d25771d authored by Ulrich Sibiller's avatar Ulrich Sibiller

Keystroke.c: use SAFE_free

parent 8080ad26
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment