diff options
author | Eugene Sandulenko | 2013-10-18 15:54:59 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-10-18 15:54:59 +0300 |
commit | 8390e53fc03fcbaa89c6a89a6573806f6563f102 (patch) | |
tree | 796f48b19e4b08c476ac2f9c9fcaa0cd9fd46965 /engines | |
parent | aba818d19578836aab41e0bc484dfbdfc5da3231 (diff) | |
download | scummvm-rg350-8390e53fc03fcbaa89c6a89a6573806f6563f102.tar.gz scummvm-rg350-8390e53fc03fcbaa89c6a89a6573806f6563f102.tar.bz2 scummvm-rg350-8390e53fc03fcbaa89c6a89a6573806f6563f102.zip |
FULLPIPE: Plug resource leak. CID 1107570
Diffstat (limited to 'engines')
-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 b49b297451..f6eb9d6753 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -635,6 +635,8 @@ MessageQueue *MovGraph2::doWalkTo(StaticANIObject *obj, int xpos, int ypos, int if (idxwalk == -1) { obj->setPicAniInfo(&picAniInfo); + delete mq; + return 0; } |