summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authordscho <dscho>2005-12-07 18:44:02 +0000
committerdscho <dscho>2005-12-07 18:44:02 +0000
commit9e78be39cc9ff5b11579e44463917b6ca7b60e30 (patch)
treefada8f086517276e9b7fac9305d3a93c0076e3fa /libvncclient
parent61204490ce0931b6593bbf8c84647b0a9200a3e5 (diff)
downloadlibvncserver-9e78be39cc9ff5b11579e44463917b6ca7b60e30.zip
libvncserver-9e78be39cc9ff5b11579e44463917b6ca7b60e30.tar.gz
one more memory leak
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/vncviewer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 5ef2d9a..941f512 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -268,6 +268,11 @@ void rfbClientCleanup(rfbClient* client) {
rfbClientLog("inflateEnd: %s\n", client->decompStream.msg );
}
+#ifdef LIBVNCSERVER_HAVE_LIBJPEG
+ if (client->jpegSrcManager)
+ free(client->jpegSrcManager);
+#endif
+
free(client->desktopName);
free(client->serverHost);
free(client);
OpenPOWER on IntegriCloud