gskrendernodeimpl: Fix leak of cairo_pattern_t

It was not destroyed after setting it on the cairo_context_t, as it is
in every other case.

https://bugzilla.gnome.org/show_bug.cgi?id=785793
This commit is contained in:
Daniel Boles 2017-08-04 00:18:13 +01:00
parent 01e587da22
commit 0740fb5c64

View File

@ -2558,6 +2558,7 @@ gsk_color_matrix_node_draw (GskRenderNode *node,
cairo_paint (cr);
cairo_restore (cr);
cairo_pattern_destroy (pattern);
}
#define GSK_COLOR_MATRIX_NODE_VARIANT_TYPE "(dddddddddddddddddddduv)"