Commit 105b0686 authored by Christian Persch's avatar Christian Persch

Fix pixbuf refcounting

The surface takes over the reference, so don't add an extra one.
parent 02a38df6
......@@ -971,7 +971,7 @@ rsvg_cairo_pop_render_stack (RsvgDrawingCtx * ctx)
gdk_pixbuf_get_height (output),
gdk_pixbuf_get_rowstride (output));
cairo_surface_set_user_data (surface, &surface_pixel_data_key,
g_object_ref (output),
(cairo_destroy_func_t) g_object_unref);
} else
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment