diff options
Diffstat (limited to 'libvncclient/vncviewer.c')
-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); |