diff options
author | Torbjörn Andersson | 2004-05-31 08:59:11 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-05-31 08:59:11 +0000 |
commit | 28e63617e10586511179a3d1bceff5b36e97bf4b (patch) | |
tree | 827146d9b0cd359bea704403a5bd6b741f39d401 | |
parent | 0552b10590d8af7466a0f4f2b41b3aed8d26c8d9 (diff) | |
download | scummvm-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.cpp | 1 |
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; } } |