Opened 6 years ago

Closed 5 years ago

Last modified 3 years ago

#10398 closed defect (fixed)

FULLPIPE: memory leak when exiting via in-game menu (not gmm)

Reported by: dafioram Owned by: digitall
Priority: low Component: Engine: NGI
Version: Keywords:
Cc: Game: Full Pipe



Running valgrind:

==19569== 296 (104 direct, 192 indirect) bytes in 1 blocks are definitely lost in loss record 2,395 of 2,491
==19569==    at 0x4C2E19F: operator new(unsigned long) (in /usr/lib/valgrind/
==19569==    by 0x18A73B: Fullpipe::FullpipeEngine::openMainMenu() (modal.cpp:2490)
==19569==    by 0x17F4ED: Fullpipe::global_messageHandler1(Fullpipe::ExCommand*) (messagehandlers.cpp:164)
==19569==    by 0x184A14: Fullpipe::ExCommand::handleMessage() (messages.cpp:120)
==19569==    by 0x18472E: Fullpipe::processMessages() (messages.cpp:904)
==19569==    by 0x16F051: Fullpipe::GameLoader::updateSystems(int) (gameloader.cpp:568)
==19569==    by 0x16B600: Fullpipe::FullpipeEngine::updateScreen() (fullpipe.cpp:496)
==19569==    by 0x16BA55: Fullpipe::FullpipeEngine::run() (fullpipe.cpp:309)
==19569==    by 0x158CA5: runGame (main.cpp:264)
==19569==    by 0x158CA5: scummvm_main (main.cpp:530)
==19569==    by 0x1532AD: main (posix-main.cpp:45)

If you exit via gmm no memory leak.

Change History (2)

comment:1 by digitall, 5 years ago

Owner: set to digitall
Resolution: fixed
Status: newclosed

Fixed by commit 0ac78878563a418483ec65a65c45a421bbf0392d. Closing as fixed.

comment:2 by digitall, 3 years ago

Component: Engine: FullpipeEngine: NGI
Note: See TracTickets for help on using tickets.