mirror of https://github.com/GNOME/gimp.git
app: correctly refcount the pixbuf in gimp_pixbuf_create_buffer()
This commit is contained in:
parent
8bfdf3ce7b
commit
b1da84f6fb
|
@ -156,7 +156,7 @@ gimp_pixbuf_create_buffer (GdkPixbuf *pixbuf)
|
|||
TRUE),
|
||||
&rect, rowstride,
|
||||
(GDestroyNotify) g_object_unref,
|
||||
pixbuf);
|
||||
g_object_ref (pixbuf));
|
||||
}
|
||||
|
||||
GeglBuffer *
|
||||
|
|
Loading…
Reference in New Issue