[gimp/goat-invasion: 111/412] app: correctly refcount the pixbuf in gimp_pixbuf_create_buffer()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 111/412] app: correctly refcount the pixbuf in gimp_pixbuf_create_buffer()
- Date: Tue, 3 Apr 2012 09:42:26 +0000 (UTC)
commit 70126a9b8274b9a2746fdaad538cc804f4dd393f
Author: Michael Natterer <mitch gimp org>
Date: Sun Mar 18 00:35:18 2012 +0100
app: correctly refcount the pixbuf in gimp_pixbuf_create_buffer()
app/gegl/gimp-gegl-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-utils.c b/app/gegl/gimp-gegl-utils.c
index 92b33d0..5f01ca4 100644
--- a/app/gegl/gimp-gegl-utils.c
+++ b/app/gegl/gimp-gegl-utils.c
@@ -156,7 +156,7 @@ gimp_pixbuf_create_buffer (GdkPixbuf *pixbuf)
TRUE),
&rect, rowstride,
(GDestroyNotify) g_object_unref,
- pixbuf);
+ g_object_ref (pixbuf));
}
GeglBuffer *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]