From 8d16014292f738e8269713dc64ad23a7364cf4ad Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 6 Jun 2014 15:44:17 +0300 Subject: FULLPIPE: Fix memory leak and missing results. CID 1216225 --- engines/fullpipe/motion.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/fullpipe') 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 *MovGraph::calcMovItems(MovArr *movarr1, MovArr *movarr genMovItem(r, tempObList2[i], movarr1, movarr2); + res->push_back(r); + delete tempObList2[i]; } -- cgit v1.2.3