aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-14 00:08:50 +0300
committerEugene Sandulenko2013-09-14 00:08:50 +0300
commit1e72640cbacac854d87090f86f6a79ba9ccdd522 (patch)
tree333bec2da3cc77a14f63dc691647b4518e5fc292
parent01dea8bd6794c28ca43dce880d794adf992397cf (diff)
downloadscummvm-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.cpp2
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);
}