From 96d9a01f761ed43bdde3925c2117252247539878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 3 Jul 2016 10:26:56 +0200 Subject: [PATCH] Dispose pkgStream. --- OpenRA.Game/FileSystem/ZipFile.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Game/FileSystem/ZipFile.cs b/OpenRA.Game/FileSystem/ZipFile.cs index 63d35c2788..4d619dc538 100644 --- a/OpenRA.Game/FileSystem/ZipFile.cs +++ b/OpenRA.Game/FileSystem/ZipFile.cs @@ -137,6 +137,9 @@ namespace OpenRA.FileSystem { if (pkg != null) pkg.Close(); + + if (pkgStream != null) + pkgStream.Dispose(); } }