Fixing memory leak of client data struct
This commit is contained in:
parent
c3e4df73f1
commit
fbba21feac
@ -262,6 +262,9 @@ int vnc_guac_client_free_handler(guac_client* client) {
|
|||||||
guac_free_png_buffer(png_buffer, rfb_client->height);
|
guac_free_png_buffer(png_buffer, rfb_client->height);
|
||||||
guac_free_png_buffer(png_buffer_alpha, rfb_client->height);
|
guac_free_png_buffer(png_buffer_alpha, rfb_client->height);
|
||||||
|
|
||||||
|
/* Free generic data struct */
|
||||||
|
free(client->data);
|
||||||
|
|
||||||
/* Clean up VNC client*/
|
/* Clean up VNC client*/
|
||||||
rfbClientCleanup(rfb_client);
|
rfbClientCleanup(rfb_client);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user