summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>1999-12-24 02:21:33 +0000
committerHavoc Pennington <hp@src.gnome.org>1999-12-24 02:21:33 +0000
commite4ce74f5b7b842b518529e1da109599993b0781b (patch)
treee27f702f8182fa78e320c7bfee29eebd33731d84 /gdk-pixbuf
parent39e00cbdf28722b3eedde798379041bc33bce58d (diff)
downloadgtk+-e4ce74f5b7b842b518529e1da109599993b0781b.tar.gz
Stuff that should have been set to NULL here (specifically
1999-12-23 Havoc Pennington <hp@pobox.com> * gdk-pixbuf/io-gif.c (image_load): Stuff that should have been set to NULL here (specifically context->animation) was not being set to NULL. use g_new0() to alloc the struct.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog6
-rw-r--r--gdk-pixbuf/io-gif.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 2229cb01f1..7fc6c896d2 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,3 +1,9 @@
+1999-12-23 Havoc Pennington <hp@pobox.com>
+
+ * gdk-pixbuf/io-gif.c (image_load): Stuff that should have been
+ set to NULL here (specifically context->animation) was not being
+ set to NULL. use g_new0() to alloc the struct.
+
1999-12-20 Jonathan Blandford <jrb@redhat.com>
* gdk-pixbuf/io-gif.c: finished work to make animated gifs load
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c
index 1a0fc963cb..c36809ba0a 100644
--- a/gdk-pixbuf/io-gif.c
+++ b/gdk-pixbuf/io-gif.c
@@ -1053,7 +1053,7 @@ new_context (void)
{
GifContext *context;
- context = g_new (GifContext, 1);
+ context = g_new0 (GifContext, 1);
context->pixbuf = NULL;
context->file = NULL;
context->state = GIF_START;