Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
34bd0942
Commit
34bd0942
authored
Jul 22, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reconnect.c: use SAFE_free
parent
fd4fa4e9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
Reconnect.c
nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
+5
-7
No files found.
nx-X11/programs/Xserver/hw/nxagent/Reconnect.c
View file @
34bd0942
...
...
@@ -53,6 +53,7 @@
#include "Splash.h"
#include "Error.h"
#include "Keystroke.h"
#include "Utils.h"
#ifdef XKB
#include "XKBsrv.h"
...
...
@@ -448,8 +449,7 @@ Bool nxagentReconnectSession(void)
return
0
;
}
free
(
nxagentKeyboard
);
nxagentKeyboard
=
NULL
;
SAFE_free
(
nxagentKeyboard
);
}
nxagentSaveOptions
();
...
...
@@ -464,7 +464,7 @@ Bool nxagentReconnectSession(void)
fprintf
(
stderr
,
"nxagentReconnect: changing nxagentKeyboard from [null/null] to [clone].
\n
"
);
#endif
free
(
nxagentKeyboard
);
SAFE_
free
(
nxagentKeyboard
);
nxagentKeyboard
=
strdup
(
"clone"
);
}
...
...
@@ -635,8 +635,7 @@ Bool nxagentReconnectSession(void)
nxagentXkbState
.
Initialized
=
0
;
free
(
nxagentOldKeyboard
);
nxagentOldKeyboard
=
NULL
;
SAFE_free
(
nxagentOldKeyboard
);
nxagentInitPointerMap
();
...
...
@@ -760,8 +759,7 @@ nxagentReconnectError:
nxagentDisconnectDisplay
();
}
free
(
nxagentOldKeyboard
);
nxagentOldKeyboard
=
NULL
;
SAFE_free
(
nxagentOldKeyboard
);
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment