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 + + * 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 * 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;