[Scummvm-tracker] [ScummVM] #10217: MOHAWK: Riven: Possible memory leak for doFrame

dafioram trac at scummvm.org
Wed Sep 20 14:57:53 CEST 2017


#10217: MOHAWK: Riven: Possible memory leak for doFrame
---------------------+----------------------------
Reporter:  dafioram  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  low       |  Component:  Engine: Mohawk
Keywords:            |       Game:  Riven
---------------------+----------------------------
 scummvm: a7479b4f5beb83e75379f868d5c19c23625eabe6

 {{{
 ==26769== 344 bytes in 1 blocks are definitely lost in loss record 2,337
 of 2,409
 ==26769==    at 0x4C2DB2F: malloc (in /usr/lib/valgrind
 /vgpreload_memcheck-amd64-linux.so)
 ==26769==    by 0x5D2BEE2: png_create_info_struct (in /usr/lib/x86_64
 -linux-gnu/libpng16.so.16.28.0)
 ==26769==    by 0x2A20B7: Image::writePNG(Common::WriteStream&,
 Graphics::Surface const&, bool) (png.cpp:290)
 ==26769==    by 0x2703D6: SurfaceSdlGraphicsManager::saveScreenshot(char
 const*) (surfacesdl-graphics.cpp:1434)
 ==26769==    by 0x27466A:
 SurfaceSdlGraphicsManager::notifyEvent(Common::Event const&) (surfacesdl-
 graphics.cpp:2666)
 ==26769==    by 0x3AF1D1:
 Common::EventDispatcher::dispatchEvent(Common::Event const&)
 (EventDispatcher.cpp:144)
 ==26769==    by 0x3AEC08: Common::EventDispatcher::dispatch()
 (EventDispatcher.cpp:61)
 ==26769==    by 0x25D9A8: DefaultEventManager::pollEvent(Common::Event&)
 (default-events.cpp:93)
 ==26769==    by 0x1AA8A0: Mohawk::MohawkEngine_Riven::doFrame()
 (riven.cpp:208)
 ==26769==    by 0x1AA7EF: Mohawk::MohawkEngine_Riven::run()
 (riven.cpp:196)
 ==26769==    by 0x1643D8: runGame(PluginSubclass<MetaEngine> const*,
 OSystem&, Common::String const&) (main.cpp:263)
 ==26769==    by 0x1655F7: scummvm_main (main.cpp:529)
 }}}

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


More information about the Scummvm-tracker mailing list