From 7ab439ebb2e40d7327428acf9c14561ad7e66b78 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 24 Mar 2006 18:20:35 +0000 Subject: [PATCH] fix memory leak --- stepmania/src/ScreenGameplay.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 15f9e38002..20b8a78058 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -926,6 +926,8 @@ ScreenGameplay::~ScreenGameplay() LOG->Trace( "ScreenGameplay::~ScreenGameplay()" ); SAFE_DELETE( m_pPlayerScoreList ); + SAFE_DELETE( m_pSongBackground ); + SAFE_DELETE( m_pSongForeground ); if( !GAMESTATE->m_bDemonstrationOrJukebox ) MEMCARDMAN->UnPauseMountingThread();