aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-03-06 17:53:11 +0000
committerMax Horn2009-03-06 17:53:11 +0000
commit763275f2699f0718d45e7732efe25434161f0c7c (patch)
treeb9ae404134bc9d6ad8b474573a8a09402df71629 /engines/sci/engine
parente134281b5c7e25dc0d322cba108c646d35e5ae1e (diff)
downloadscummvm-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/engine')
-rw-r--r--engines/sci/engine/scriptdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index f71b306ae1..ea10978db2 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -2436,7 +2436,7 @@ static int c_is_sample(EngineState *s) {
} else
sciprintf("Valid song, but not a sample.\n");
- songit_free(songit);
+ delete songit;
return 0;
}