forked from AuroraMiddleware/gtk
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:
parent
01e587da22
commit
0740fb5c64
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user