From 734b146dfe3fd8382b052a8419081b3bb905a93c Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 18 Mar 2018 09:01:27 -0400 Subject: [PATCH] ... --- coders/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/gif.c b/coders/gif.c index 6b93cffc2..6e421973b 100644 --- a/coders/gif.c +++ b/coders/gif.c @@ -1028,6 +1028,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) meta_image->page.width=ReadBlobLSBShort(image); meta_image->page.height=ReadBlobLSBShort(image); flag=(unsigned char) ReadBlobByte(image); + profiles=(LinkedListInfo *) NULL; background=(unsigned char) ReadBlobByte(image); c=(unsigned char) ReadBlobByte(image); /* reserved */ one=1; @@ -1044,7 +1045,6 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception) if (count != (ssize_t) (3*global_colors)) ThrowGIFException(CorruptImageError,"InsufficientImageDataInFile"); } - profiles=(LinkedListInfo *) NULL; duration=0; opacity=(-1); image_count=0; -- 2.40.0