dtool: Fix memory leak in OEncryptStream/IDecryptStream

Fixes #1114
This commit is contained in:
rdb 2021-02-16 11:33:39 +01:00
parent 6374a7f240
commit 08f344b00c

View File

@ -95,6 +95,10 @@ EncryptStreamBuf::
~EncryptStreamBuf() {
close_read();
close_write();
#ifdef PHAVE_IOSTREAM
delete[] eback();
#endif
}
/**