From 1fb9eead9299fff40477455318e898ae1350eda1 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 17 Feb 2012 10:04:00 -0800 Subject: [PATCH] Free surface image buffer after use. --- protocols/rdp/src/rdp_pointer.c | 1 + 1 file changed, 1 insertion(+) 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;