Skip to content

Commit 35ea961

Browse files
committed
Dispose currentLocalColorTable in final block
1 parent 4387db9 commit 35ea961

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ImageSharp/Formats/Gif/GifDecoderCore.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ private void ReadFrame<TPixel>(BufferedReadStream stream, ref Image<TPixel>? ima
463463
finally
464464
{
465465
indices?.Dispose();
466+
this.currentLocalColorTable?.Dispose();
466467
}
467468
}
468469

0 commit comments

Comments
 (0)