diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2015-08-02 22:14:46 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2015-08-02 23:30:31 +0200 |
commit | 94c48598543518c43f0e2ee94885483ab54d2a95 (patch) | |
tree | e4027d5acb6bc57c17759d89d4b6b9a0aaefe597 | |
parent | ca0ef340d8b091084deedd59e0faec7202f820d7 (diff) | |
download | librsvg-94c48598543518c43f0e2ee94885483ab54d2a95.tar.gz |
bgo#748608 - Destroy cairo_t after use
Otherwise the cairo_t, and the surface it's created on are leaked.
-rw-r--r-- | rsvg-filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rsvg-filter.c b/rsvg-filter.c index 9d3ef5e7..61af6500 100644 --- a/rsvg-filter.c +++ b/rsvg-filter.c @@ -1902,6 +1902,7 @@ rsvg_filter_primitive_gaussian_blur_render (RsvgFilterPrimitive * self, RsvgFilt boundarys.x0, boundarys.y0, boundarys.x1 - boundarys.x0, boundarys.y1 - boundarys.y0); cairo_fill (cr); + cairo_destroy (cr); } op.surface = output; |