Free surface image buffer after use.
This commit is contained in:
parent
6fe448edf8
commit
1fb9eead92
@ -74,6 +74,7 @@ void guac_rdp_pointer_new(rdpContext* context, rdpPointer* pointer) {
|
||||
|
||||
/* Free surface */
|
||||
cairo_surface_destroy(surface);
|
||||
free(data);
|
||||
|
||||
/* Remember buffer */
|
||||
((guac_rdp_pointer*) pointer)->layer = buffer;
|
||||
|
Loading…
Reference in New Issue
Block a user