From a8a17fd70fc8df3ca7402323ad5c4f36b25cb806 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 9 Nov 2022 01:13:27 +0700 Subject: Dispose cleanup - IDisposable for PemReader, PemWriter, IStreamGenerator --- crypto/src/util/zlib/ZInputStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/util/zlib/ZInputStream.cs') diff --git a/crypto/src/util/zlib/ZInputStream.cs b/crypto/src/util/zlib/ZInputStream.cs index 0433a0182..de1c27202 100644 --- a/crypto/src/util/zlib/ZInputStream.cs +++ b/crypto/src/util/zlib/ZInputStream.cs @@ -123,7 +123,7 @@ namespace Org.BouncyCastle.Utilities.Zlib if (!closed) { closed = true; - Platform.Dispose(input); + input.Dispose(); } } base.Dispose(disposing); -- cgit 1.5.1