diff --git a/protocols/rdp/src/rdp_pointer.c b/protocols/rdp/src/rdp_pointer.c index e0ef5489..00ea93fe 100644 --- a/protocols/rdp/src/rdp_pointer.c +++ b/protocols/rdp/src/rdp_pointer.c @@ -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;