aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-05-31 08:59:11 +0000
committerTorbjörn Andersson2004-05-31 08:59:11 +0000
commit28e63617e10586511179a3d1bceff5b36e97bf4b (patch)
tree827146d9b0cd359bea704403a5bd6b741f39d401
parent0552b10590d8af7466a0f4f2b41b3aed8d26c8d9 (diff)
downloadscummvm-rg350-28e63617e10586511179a3d1bceff5b36e97bf4b.tar.gz
scummvm-rg350-28e63617e10586511179a3d1bceff5b36e97bf4b.tar.bz2
scummvm-rg350-28e63617e10586511179a3d1bceff5b36e97bf4b.zip
Set _parser to NULL after deleting it. I don't know if it's necessary, but
it'll make me sleep easier at night, and I should have remembered to do it before anyway. svn-id: r13912
-rw-r--r--saga/music.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/saga/music.cpp b/saga/music.cpp
index cb97dbb687..bad0fec18c 100644
--- a/saga/music.cpp
+++ b/saga/music.cpp
@@ -148,6 +148,7 @@ void MusicPlayer::stopMusic() {
if (_parser) {
_parser->unloadMusic();
delete _parser;
+ _parser = NULL;
}
}