From 0006197cf11187fc9756c7aba5de239cf719c4a4 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 21 Oct 2002 12:58:53 +0000 Subject: fixed a memory leak (one thousand more to go :-) svn-id: r5215 --- simon/simon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3