summary refs log tree commit diff
path: root/crypto/src/util/bzip2/CBZip2OutputStream.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/util/bzip2/CBZip2OutputStream.cs')
-rw-r--r--crypto/src/util/bzip2/CBZip2OutputStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/bzip2/CBZip2OutputStream.cs b/crypto/src/util/bzip2/CBZip2OutputStream.cs
index b896f36c6..d1400c7c4 100644
--- a/crypto/src/util/bzip2/CBZip2OutputStream.cs
+++ b/crypto/src/util/bzip2/CBZip2OutputStream.cs
@@ -441,7 +441,7 @@ namespace Org.BouncyCastle.Utilities.Bzip2
                 {
                     Finish();
                     closed = true;
-                    Platform.Dispose(this.bsStream);
+                    this.bsStream.Dispose();
                 }
             }
             base.Dispose(disposing);