diff options
Diffstat (limited to 'src/modes/ecb')
-rw-r--r-- | src/modes/ecb/ecb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modes/ecb/ecb.h b/src/modes/ecb/ecb.h index d15d2f202..902713455 100644 --- a/src/modes/ecb/ecb.h +++ b/src/modes/ecb/ecb.h @@ -20,6 +20,7 @@ class BOTAN_DLL ECB : public BlockCipherMode protected: ECB(BlockCipher* ciph, const BlockCipherModePaddingMethod* pad) : BlockCipherMode(ciph, "ECB", 0), padder(pad) {} + ~ECB() { delete padder; } std::string name() const; const BlockCipherModePaddingMethod* padder; |