summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-06 20:33:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-11 16:42:31 +0000
commitf8943281d0961fc3b5c2d84b666a2cd68db962e5 (patch)
tree6150ff7a5cfce9fa0a705b912d916c733d7b644c /vcl
parentd335ab62114808fcb60c91fd5346bf504edf0a63 (diff)
gtk3 fix mem leak
Change-Id: I2f751dbbe088531c6b560be57668d5b929ac20df
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 8eddea2496c1..5b10813ce045 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -3448,6 +3448,7 @@ gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t *cr, gpointer frame )
SAL_INFO("vcl.gtk3", "\t" << i << " -> " << rect.x << "," << rect.y << " " << rect.width << "x" << rect.height);
pThis->renderArea( cr, &rect );
}
+ cairo_rectangle_list_destroy(rects);
cairo_surface_flush(cairo_get_target(cr));