From 8e84e04d26752d64637c023eb515bc7987c9af0b Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 4 Nov 2015 17:19:48 +0700 Subject: Remove redundant Flush --- crypto/src/openpgp/PgpCompressedDataGenerator.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'crypto/src/openpgp') diff --git a/crypto/src/openpgp/PgpCompressedDataGenerator.cs b/crypto/src/openpgp/PgpCompressedDataGenerator.cs index c51e6326c..307fdbf08 100644 --- a/crypto/src/openpgp/PgpCompressedDataGenerator.cs +++ b/crypto/src/openpgp/PgpCompressedDataGenerator.cs @@ -157,9 +157,7 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp if (dOut != pkOut) { Platform.Dispose(dOut); - dOut.Flush(); } - dOut = null; pkOut.Finish(); -- cgit 1.4.1