Commit 0e7499fb authored by Stefan Becker's avatar Stefan Becker Committed by Johannes Schindelin

Add close() to rfbClientCleanup()

Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 94d058b3
......@@ -316,6 +316,8 @@ void rfbClientCleanup(rfbClient* client) {
#endif
#endif
if (client->sock > 0)
close(client->sock);
free(client->desktopName);
free(client->serverHost);
free(client);
......
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