From: Matthias Braun Date: Wed, 26 Apr 2006 08:44:44 +0000 (+0000) Subject: there is no need to check for NULL when deleting X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=db7dbb66619413e3469e75e6db0aad75e5c3301d;p=supertux.git there is no need to check for NULL when deleting SVN-Revision: 3437 --- 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;