aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
authorStrangerke2011-11-27 16:53:56 +0100
committerStrangerke2011-11-27 16:53:56 +0100
commitd9e86715d6531304bc5a3826a3c151db0b56edba (patch)
tree949e8998fb0fc8095c243c2cc72408d34a6a16b9 /engines/cge
parent6bbff583146843baade8f6268a2e1ea92be416ba (diff)
downloadscummvm-rg350-d9e86715d6531304bc5a3826a3c151db0b56edba.tar.gz
scummvm-rg350-d9e86715d6531304bc5a3826a3c151db0b56edba.tar.bz2
scummvm-rg350-d9e86715d6531304bc5a3826a3c151db0b56edba.zip
CGE: Fix Valgrind warning (thanks to digitall)
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/fileio.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cge/fileio.cpp b/engines/cge/fileio.cpp
index 6db0818287..c50db4e929 100644
--- a/engines/cge/fileio.cpp
+++ b/engines/cge/fileio.cpp
@@ -235,6 +235,7 @@ int32 EncryptedStream::pos() {
}
EncryptedStream::~EncryptedStream() {
+ delete _readStream;
}
} // End of namespace CGE