[Scummvm-tracker] [ScummVM] #10398: FULLPIPE: memory leak when exiting via in-game menu (not gmm)

dafioram trac at scummvm.org
Thu Jan 4 15:46:23 CET 2018


#10398: FULLPIPE: memory leak when exiting via in-game menu (not gmm)
---------------------+------------------------------
Reporter:  dafioram  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  low       |  Component:  Engine: Fullpipe
Keywords:            |       Game:  Full Pipe
---------------------+------------------------------
 cf1171d4d9b43eba525439da82db16cd4aac0414

 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/vgpreload_memcheck-amd64-linux.so)
 ==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.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10398>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list