[Scummvm-tracker] [ScummVM] #10209: TITANIC: Memory leaks in CStarControl

dafioram trac at scummvm.org
Wed Sep 27 03:30:03 CEST 2017


#10209: TITANIC: Memory leaks in CStarControl
-------------------------------+-----------------------------
  Reporter:  csnover           |      Owner:  dreammaster
      Type:  defect            |     Status:  new
  Priority:  normal            |  Component:  Engine: Titanic
Resolution:                    |   Keywords:
      Game:  Starship Titanic  |
-------------------------------+-----------------------------

Comment (by dafioram):

 Bridge helmet on then off:
 {{{
 ==2533== 408,000 bytes in 1 blocks are possibly lost in loss record 2,334
 of 2,337
 ==2533==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-
 amd64-linux.so)
 ==2533==    by 0x6A35A4: Graphics::Surface::create(unsigned short,
 unsigned short, Graphics::PixelFormat const&) (surface.cpp:74)
 ==2533==    by 0x69BADF: Graphics::ManagedSurface::create(unsigned short,
 unsigned short, Graphics::PixelFormat const&) (managed_surface.cpp:99)
 ==2533==    by 0x69B730: Graphics::ManagedSurface::ManagedSurface(int,
 int, Graphics::PixelFormat const&) (managed_surface.cpp:51)
 ==2533==    by 0x56F3CF: Titanic::DirectDrawSurface::create(int, int, int)
 (direct_draw_surface.cpp:47)
 ==2533==    by 0x56EFDC:
 Titanic::DirectDraw::createSurfaceFromDesc(Titanic::DDSurfaceDesc const&)
 (direct_draw.cpp:52)
 ==2533==    by 0x56F202: Titanic::DirectDrawManager::createSurface(int,
 int, int, int) (direct_draw.cpp:96)
 ==2533==    by 0x533201: Titanic::OSScreenManager::createSurface(int, int,
 int) (screen_manager.cpp:320)
 ==2533==    by 0x526F1F:
 Titanic::CStarView::resizeSurface(Titanic::CScreenManager*, int, int,
 Titanic::CVideoSurface**) (star_view.cpp:516)
 ==2533==    by 0x5261BB: Titanic::CStarView::fn2() (star_view.cpp:284)
 ==2533==    by 0x5148B1:
 Titanic::CStarControl::doAction(Titanic::StarControlAction)
 (star_control.cpp:171)
 ==2533==    by 0x42B87C:
 Titanic::CGameObject::starFn(Titanic::StarControlAction)
 (game_object.cpp:1636)
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/10209#comment:3>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list