diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 20:33:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-11 16:42:31 +0000 |
commit | f8943281d0961fc3b5c2d84b666a2cd68db962e5 (patch) | |
tree | 6150ff7a5cfce9fa0a705b912d916c733d7b644c /vcl/unx | |
parent | d335ab62114808fcb60c91fd5346bf504edf0a63 (diff) |
gtk3 fix mem leak
Change-Id: I2f751dbbe088531c6b560be57668d5b929ac20df
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk/window/gtksalframe.cxx | 1 |
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)); |