aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/sound.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp
index 31e008eb62..7380b3a93a 100644
--- a/engines/tony/sound.cpp
+++ b/engines/tony/sound.cpp
@@ -536,6 +536,8 @@ bool FPStream::unloadFile() {
/* Closes the file handle stream */
delete _loopStream;
delete _rewindableStream;
+ _loopStream = NULL;
+ _rewindableStream = NULL;
_file.close();
// Flag that the file is no longer in memory