summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:38:09 +0100
committerJohannes Schindelin <johannes.schindelin@gmx.de>2010-03-13 17:38:09 +0100
commit19aa466a967aa15f873c49508342a235100056dc (patch)
treec04576193d91af345dc3ea2fc5df160491a78c8f /libvncclient/vncviewer.c
parent14854d2e5ee39dd8cffc246f85ee2a0b5c9dcf1f (diff)
downloadlibvncserver-19aa466a967aa15f873c49508342a235100056dc.zip
libvncserver-19aa466a967aa15f873c49508342a235100056dc.tar.gz
Fix compilation without TLS
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 34de15d..094ba34 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -358,7 +358,9 @@ void rfbClientCleanup(rfbClient* client) {
#endif
#endif
+#ifdef LIBVNCSERVER_WITH_CLIENT_TLS
FreeTLS(client);
+#endif
if (client->sock >= 0)
close(client->sock);
if (client->listenSock >= 0)
OpenPOWER on IntegriCloud