Merge pull request #260 from veyon/free-client-buffers

LibVNCClient: free buffers in rfbClientCleanup()
pull/3/head
Christian Beier 6 years ago committed by GitHub
commit 1a4ae5fe7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -519,6 +519,12 @@ void rfbClientCleanup(rfbClient* client) {
#endif
#endif
if (client->ultra_buffer)
free(client->ultra_buffer);
if (client->raw_buffer)
free(client->raw_buffer);
FreeTLS(client);
while (client->clientData) {

Loading…
Cancel
Save