From f4f521cc5beccaa3b1ecf4f41dfacc6a0cb298a8 Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Tue, 12 Apr 2022 17:56:08 +0100 Subject: [PATCH] revert to allow easier merge --- src/ImageSharp/Formats/Png/PngDecoderCore.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ImageSharp/Formats/Png/PngDecoderCore.cs b/src/ImageSharp/Formats/Png/PngDecoderCore.cs index 12770bc521..05ce8d92e4 100644 --- a/src/ImageSharp/Formats/Png/PngDecoderCore.cs +++ b/src/ImageSharp/Formats/Png/PngDecoderCore.cs @@ -1367,7 +1367,6 @@ namespace SixLabors.ImageSharp.Formats.Png { if (chunk.Type == PngChunkType.Data) { - chunk.Data?.Dispose(); return chunk.Length; }