aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2008-12-14 23:47:56 +0000
committerTravis Howell2008-12-14 23:47:56 +0000
commit96c0685879635f81e5b83ac01e66038bd2a0900c (patch)
treee41e1fc5a9af4a4e9a63036dfecad9548b264bd1
parent9c20a533bb121d97088e19ce620b1172b16fa8a1 (diff)
downloadscummvm-rg350-96c0685879635f81e5b83ac01e66038bd2a0900c.tar.gz
scummvm-rg350-96c0685879635f81e5b83ac01e66038bd2a0900c.tar.bz2
scummvm-rg350-96c0685879635f81e5b83ac01e66038bd2a0900c.zip
Avoid file leaking.
svn-id: r35369
-rw-r--r--graphics/smk_player.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/smk_player.cpp b/graphics/smk_player.cpp
index f6d38db48b..dac51459d7 100644
--- a/graphics/smk_player.cpp
+++ b/graphics/smk_player.cpp
@@ -387,6 +387,8 @@ void SMKPlayer::closeFile() {
if (!_fileStream)
return;
+ delete _fileStream;
+
delete _MMapTree;
delete _MClrTree;
delete _FullTree;