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.
This commit is contained in:
Havoc Pennington 1999-12-24 02:21:33 +00:00 committed by Havoc Pennington
parent 39e00cbdf2
commit e4ce74f5b7
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;