From 73ca693a15262494132d134fc7af39543145fea3 Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 16 Sep 2009 00:12:52 +0000 Subject: [PATCH] Fixed leak in previous commit git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4025 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/challenges/unlock_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/challenges/unlock_manager.cpp b/src/challenges/unlock_manager.cpp index b8554ad93..5472e813b 100644 --- a/src/challenges/unlock_manager.cpp +++ b/src/challenges/unlock_manager.cpp @@ -128,6 +128,7 @@ UnlockManager::UnlockManager() UnlockManager::~UnlockManager() { save(); + sfx_manager->deleteSFX(m_locked_sound); } // ~UnlockManager //-----------------------------------------------------------------------------