Commit c4fa0214 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

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.
parent d0ef2e84
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment