diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-10-17 22:35:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-10-17 22:35:47 (GMT) |
commit | 0fdcf7a96b408ef4d072720d2d5e33313cedc879 (patch) | |
tree | 93e3532df919e7016a1573fcdfa4849bcd80e88e /src/gtkext | |
parent | ef174ce487411fceffd5d5098b51e66b65bb93b8 (diff) |
Fixed a huge memory leak when computing shadows.
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkgraphview.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c index 5b32f69..1666488 100644 --- a/src/gtkext/gtkgraphview.c +++ b/src/gtkext/gtkgraphview.c @@ -403,6 +403,8 @@ static gboolean gtk_graph_view_draw(GtkWidget *widget, cairo_t *cr, GtkGraphView cairo_mask(cr, pattern); cairo_fill(cr); + cairo_pattern_destroy(pattern); + } } |