projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e38c01
)
there is no need to check for NULL when deleting
author
Matthias Braun
<matze@braunis.de>
Wed, 26 Apr 2006 08:44:44 +0000
(08:44 +0000)
committer
Matthias Braun
<matze@braunis.de>
Wed, 26 Apr 2006 08:44:44 +0000
(08:44 +0000)
SVN-Revision: 3437
src/audio/sound_manager.cpp
patch
|
blob
|
history
diff --git
a/src/audio/sound_manager.cpp
b/src/audio/sound_manager.cpp
index
2cac391
..
5b65fe4
100644
(file)
--- 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;