diff options
author | Eugene Sandulenko | 2013-09-14 00:08:50 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-14 00:08:50 +0300 |
commit | 1e72640cbacac854d87090f86f6a79ba9ccdd522 (patch) | |
tree | 333bec2da3cc77a14f63dc691647b4518e5fc292 | |
parent | 01dea8bd6794c28ca43dce880d794adf992397cf (diff) | |
download | scummvm-rg350-1e72640cbacac854d87090f86f6a79ba9ccdd522.tar.gz scummvm-rg350-1e72640cbacac854d87090f86f6a79ba9ccdd522.tar.bz2 scummvm-rg350-1e72640cbacac854d87090f86f6a79ba9ccdd522.zip |
FULLPIPE: Fix leaked resource. CID 1063205
-rw-r--r-- | engines/fullpipe/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/sound.cpp b/engines/fullpipe/sound.cpp index 7f34412334..821049cd0f 100644 --- a/engines/fullpipe/sound.cpp +++ b/engines/fullpipe/sound.cpp @@ -49,7 +49,7 @@ bool SoundList::load(MfcArchive &file, char *fname) { for (int i = 0; i < _soundItemsCount; i++) { Sound *snd = new Sound(); - _soundItems[i] = 0; + _soundItems[i] = snd; snd->load(file, _libHandle); } |