[goffice] GOImage: fix last fix.



commit 3e5e0249408eb44c264a978fdc8550e404406edf
Author: Morten Welinder <terra gnome org>
Date:   Sat Feb 28 14:30:59 2015 -0500

    GOImage: fix last fix.

 goffice/utils/go-pixbuf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/goffice/utils/go-pixbuf.c b/goffice/utils/go-pixbuf.c
index 9c36bf5..a1416c2 100644
--- a/goffice/utils/go-pixbuf.c
+++ b/goffice/utils/go-pixbuf.c
@@ -397,7 +397,7 @@ go_pixbuf_new_from_data (char const *type, guint8 const *data, gsize length, GEr
        go_pixbuf_create_pixbuf (GO_PIXBUF (image), error);
        if (*error != NULL) {
                g_object_unref (image);
-               return NULL;
+               image = NULL;
        }
 
        if (dummy)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]