diff options
author | dscho <dscho> | 2005-12-07 18:44:02 +0000 |
---|---|---|
committer | dscho <dscho> | 2005-12-07 18:44:02 +0000 |
commit | 9e78be39cc9ff5b11579e44463917b6ca7b60e30 (patch) | |
tree | fada8f086517276e9b7fac9305d3a93c0076e3fa /libvncclient | |
parent | 61204490ce0931b6593bbf8c84647b0a9200a3e5 (diff) | |
download | libvncserver-9e78be39cc9ff5b11579e44463917b6ca7b60e30.zip libvncserver-9e78be39cc9ff5b11579e44463917b6ca7b60e30.tar.gz |
one more memory leak
Diffstat (limited to 'libvncclient')
-rw-r--r-- | libvncclient/vncviewer.c | 5 |
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); |