forked from AuroraMiddleware/gtk
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:
parent
39e00cbdf2
commit
e4ce74f5b7
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user