Fix leaks - free clipboard and glyph surfaces.
This commit is contained in:
parent
325e4dfdb1
commit
ed5e57ae71
@ -82,6 +82,9 @@ int rdp_guac_client_free_handler(guac_client* client) {
|
||||
freerdp_free(rdp_inst);
|
||||
|
||||
/* Free client data */
|
||||
cairo_surface_destroy(guac_client_data->opaque_glyph_surface);
|
||||
cairo_surface_destroy(guac_client_data->trans_glyph_surface);
|
||||
free(guac_client_data->clipboard);
|
||||
free(guac_client_data);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user