diff options
author | Willem Jan Palenstijn | 2009-10-17 17:59:09 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-10-17 17:59:09 +0000 |
commit | a74fd218478656a376773f97f79f9c233f7cb4c3 (patch) | |
tree | 38d43105d1b534d942c30305c614d7280095945f /engines/sci/sfx | |
parent | 42dffcdcb97744c1c60a23a1494b8e9bc5f58f10 (diff) | |
download | scummvm-rg350-a74fd218478656a376773f97f79f9c233f7cb4c3.tar.gz scummvm-rg350-a74fd218478656a376773f97f79f9c233f7cb4c3.tar.bz2 scummvm-rg350-a74fd218478656a376773f97f79f9c233f7cb4c3.zip |
SCI: Fix delete/free mismatches
svn-id: r45196
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r-- | engines/sci/sfx/songlib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sfx/songlib.cpp b/engines/sci/sfx/songlib.cpp index 7cf26ff453..1317988e2f 100644 --- a/engines/sci/sfx/songlib.cpp +++ b/engines/sci/sfx/songlib.cpp @@ -32,6 +32,7 @@ namespace Sci { Song::Song() { _handle = 0; + _resourceNum = 0; _priority = 0; _status = SOUND_STATUS_STOPPED; @@ -51,6 +52,7 @@ Song::Song() { Song::Song(SongHandle handle, SongIterator *it, int priority) { _handle = handle; + _resourceNum = 0; _priority = priority; _status = SOUND_STATUS_STOPPED; |