diff options
author | Eugene Sandulenko | 2014-06-06 15:44:17 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-06 15:44:17 +0300 |
commit | 8d16014292f738e8269713dc64ad23a7364cf4ad (patch) | |
tree | 4bb6eff896712688d87b99e5b57d97b0993fc62b | |
parent | 89ab5f7f63315c10574d1d30c8aba2b903c3a898 (diff) | |
download | scummvm-rg350-8d16014292f738e8269713dc64ad23a7364cf4ad.tar.gz scummvm-rg350-8d16014292f738e8269713dc64ad23a7364cf4ad.tar.bz2 scummvm-rg350-8d16014292f738e8269713dc64ad23a7364cf4ad.zip |
FULLPIPE: Fix memory leak and missing results. CID 1216225
-rw-r--r-- | engines/fullpipe/motion.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index 66c405aab5..adfc2f7326 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -1518,6 +1518,8 @@ Common::Array<MovItem *> *MovGraph::calcMovItems(MovArr *movarr1, MovArr *movarr genMovItem(r, tempObList2[i], movarr1, movarr2); + res->push_back(r); + delete tempObList2[i]; } |