From e6666090852ea0b47efff4c6e679c1b2df92bf8a Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Mon, 19 Feb 2018 21:53:23 +0100 Subject: [PATCH] fix regression in GifDecoderCore --- src/ImageSharp/Formats/Gif/GifDecoderCore.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ImageSharp/Formats/Gif/GifDecoderCore.cs b/src/ImageSharp/Formats/Gif/GifDecoderCore.cs index c35d506df..da92665be 100644 --- a/src/ImageSharp/Formats/Gif/GifDecoderCore.cs +++ b/src/ImageSharp/Formats/Gif/GifDecoderCore.cs @@ -151,8 +151,6 @@ namespace SixLabors.ImageSharp.Formats.Gif break; } - this.globalColorTable = this.MemoryManager.AllocateManagedByteBuffer(this.globalColorTableLength, true); - nextFlag = stream.ReadByte(); if (nextFlag == -1) {