From 28e63617e10586511179a3d1bceff5b36e97bf4b Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 31 May 2004 08:59:11 +0000 Subject: 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 --- saga/music.cpp | 1 + 1 file changed, 1 insertion(+) 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; } } -- cgit v1.2.3