diff options
author | Max Horn | 2002-10-21 12:58:53 +0000 |
---|---|---|
committer | Max Horn | 2002-10-21 12:58:53 +0000 |
commit | 0006197cf11187fc9756c7aba5de239cf719c4a4 (patch) | |
tree | 1d79753067fb7b58039d904acbad9bec5d7ba65f | |
parent | ad8347a6a5a43e7ac80a700054f32438b208fdd0 (diff) | |
download | scummvm-rg350-0006197cf11187fc9756c7aba5de239cf719c4a4.tar.gz scummvm-rg350-0006197cf11187fc9756c7aba5de239cf719c4a4.tar.bz2 scummvm-rg350-0006197cf11187fc9756c7aba5de239cf719c4a4.zip |
fixed a memory leak (one thousand more to go :-)
svn-id: r5215
-rw-r--r-- | simon/simon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index be02131988..cefc4bc0a2 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -4881,7 +4881,7 @@ void SimonState::playMusic(uint music) return; } midi.read_all_songs_old(f); - f->close(); + delete f; } midi.initialize(); |