summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorMark Crichton <crichton@src.gnome.org>1999-07-15 04:58:39 +0000
committerMark Crichton <crichton@src.gnome.org>1999-07-15 04:58:39 +0000
commitde2313faf354a12f2779252df2c941b20f09fb26 (patch)
tree2f490f781e97e40fdd53e7853999ec4c41aea782 /gdk-pixbuf
parent38aa9a941b6a2073ec728782359997b4902763ab (diff)
downloadgdk-pixbuf-de2313faf354a12f2779252df2c941b20f09fb26.tar.gz
More fixes. See ChangeLog
More fixes. See ChangeLog
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog9
-rw-r--r--gdk-pixbuf/io-gif.c5
2 files changed, 10 insertions, 4 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index fea237aed..927a3df4e 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-14 Larry Ewing <lewing@gimp.org>
+
+ * src/testpixbuf.c (expose_func): added an almost proper expose
+ handler for testpixbuf
+
1999-07-13 <crichton@gimp.org>
* configure.in: Fixed GIF check. Replaced " with '
@@ -5,6 +10,4 @@
1999-07-13 <crichton@gimp.org>
- * configure.in: I am a bonehead. Added gif-lib check.
-
-
+ * configure.in: I am a bonehead. Added gif-lib check. \ No newline at end of file
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index 57861872a..f07a82381 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -166,8 +166,11 @@ GdkPixBuf *image_load(FILE * f)
pixbuf->art_pixbuf = art_pixbuf_new_rgb(pixels, w, h, (w * 3));
/* Ok, I'm anal...shoot me */
- if (!(pixbuf->art_pixbuf))
+ if (!(pixbuf->art_pixbuf)) {
+ g_free(pixbuf);
return NULL;
+ }
+
pixbuf->ref_count = 0;
pixbuf->unref_func = NULL;