From db7dbb66619413e3469e75e6db0aad75e5c3301d Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 26 Apr 2006 08:44:44 +0000 Subject: [PATCH] there is no need to check for NULL when deleting SVN-Revision: 3437 --- src/audio/sound_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/audio/sound_manager.cpp b/src/audio/sound_manager.cpp index 2cac3911b..5b65fe4b5 100644 --- a/src/audio/sound_manager.cpp +++ b/src/audio/sound_manager.cpp @@ -60,8 +60,7 @@ SoundManager::SoundManager() SoundManager::~SoundManager() { - if(music_source) - delete music_source; + delete music_source; for(SoundSources::iterator i = sources.begin(); i != sources.end(); ++i) { delete *i; -- 2.11.0