1
0
mirror of synced 2024-11-14 11:07:39 +01:00

Dipose the stream properly for decompressed data.

This commit is contained in:
KillzXGaming 2019-06-17 19:40:51 -04:00
parent 99883c9a5b
commit 31c0351b0b
4 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -226,6 +226,7 @@ namespace FirstPlugin
if (!Directory.Exists(FolerPath)) if (!Directory.Exists(FolerPath))
Directory.CreateDirectory(FolerPath); Directory.CreateDirectory(FolerPath);
block.Dispose();
return stream.getSection((int)Offset, (int)DecompressedSize); return stream.getSection((int)Offset, (int)DecompressedSize);
} }
else else