Add close() to rfbClientCleanup()

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
pull/1/head
Stefan Becker 16 years ago committed by Johannes Schindelin
parent 94d058b35f
commit 0e7499fb39

@ -316,6 +316,8 @@ void rfbClientCleanup(rfbClient* client) {
#endif #endif
#endif #endif
if (client->sock > 0)
close(client->sock);
free(client->desktopName); free(client->desktopName);
free(client->serverHost); free(client->serverHost);
free(client); free(client);

Loading…
Cancel
Save