Commit 9e78be39 authored by dscho's avatar dscho

one more memory leak

parent 61204490
...@@ -268,6 +268,11 @@ void rfbClientCleanup(rfbClient* client) { ...@@ -268,6 +268,11 @@ void rfbClientCleanup(rfbClient* client) {
rfbClientLog("inflateEnd: %s\n", client->decompStream.msg ); rfbClientLog("inflateEnd: %s\n", client->decompStream.msg );
} }
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
if (client->jpegSrcManager)
free(client->jpegSrcManager);
#endif
free(client->desktopName); free(client->desktopName);
free(client->serverHost); free(client->serverHost);
free(client); free(client);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment