diff options
author | Max Horn | 2009-03-06 17:53:11 +0000 |
---|---|---|
committer | Max Horn | 2009-03-06 17:53:11 +0000 |
commit | 763275f2699f0718d45e7732efe25434161f0c7c (patch) | |
tree | b9ae404134bc9d6ad8b474573a8a09402df71629 /engines/sci/sfx/core.cpp | |
parent | e134281b5c7e25dc0d322cba108c646d35e5ae1e (diff) | |
download | scummvm-rg350-763275f2699f0718d45e7732efe25434161f0c7c.tar.gz scummvm-rg350-763275f2699f0718d45e7732efe25434161f0c7c.tar.bz2 scummvm-rg350-763275f2699f0718d45e7732efe25434161f0c7c.zip |
SCI: Continued C++ification of SongIterator code
svn-id: r39158
Diffstat (limited to 'engines/sci/sfx/core.cpp')
-rw-r--r-- | engines/sci/sfx/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp index 7a649af0ce..01110bb32a 100644 --- a/engines/sci/sfx/core.cpp +++ b/engines/sci/sfx/core.cpp @@ -576,7 +576,7 @@ int sfx_add_song(sfx_state_t *self, SongIterator *it, int priority, song_handle_ || song->status == SOUND_STATUS_SUSPENDED) { warning("Unexpected (error): Song %ld still playing/suspended (%d)", handle, song->status); - songit_free(it); + delete it; return -1; } else song_lib_remove(self->songlib, handle); /* No duplicates */ |