summary refs log tree commit diff
path: root/crypto/src/util/bzip2/CBZip2InputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/bzip2/CBZip2InputStream.cs')
-rw-r--r--crypto/src/util/bzip2/CBZip2InputStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/bzip2/CBZip2InputStream.cs b/crypto/src/util/bzip2/CBZip2InputStream.cs
index 7879f28af..08760f547 100644
--- a/crypto/src/util/bzip2/CBZip2InputStream.cs
+++ b/crypto/src/util/bzip2/CBZip2InputStream.cs
@@ -258,7 +258,7 @@ namespace Org.BouncyCastle.Utilities.Bzip2
             {
                 if (this.bsStream != null)
                 {
-                    Platform.Dispose(this.bsStream);
+                    this.bsStream.Dispose();
                     this.bsStream = null;
                 }
             }