Opened 7 years ago

Closed 7 years ago

#10246 closed defect (fixed)

TITANIC: Memory leaks for CCaptainsWheel

Reported by: dafioram Owned by: dreammaster
Priority: normal Component: Engine: Titanic
Version: Keywords:
Cc: Game: Starship Titanic

Description

1351189575251a7fd6ebd6af62677e501077a9df

Spin bridge wheel and press go and seagull button

==22036== 16 bytes in 1 blocks are definitely lost in loss record 377 of 2,413
==22036==    at 0x4C2E19F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==22036==    by 0x34957F: Titanic::CGameState::addMovie(Titanic::CMovie*) (game_state.cpp:166)
==22036==    by 0x21783D: Titanic::CGameObject::playMovie(int, int, unsigned int) (game_object.cpp:662)
==22036==    by 0x276D62: Titanic::CCaptainsWheel::ActMsg(Titanic::CActMsg*) (captains_wheel.cpp:99)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x2BF308: Titanic::CMessage::execute(Titanic::CString const&, Titanic::ClassDef const*, int) (messages.cpp:80)
==22036==    by 0x29DD3E: Titanic::CWheelSpinHorn::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (wheel_spin_horn.cpp:56)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x26AD22: Titanic::CViewItem::handleMouseMsg(Titanic::CMouseMsg*, bool) (view_item.cpp:295)
==22036==    by 0x26A70B: Titanic::CViewItem::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (view_item.cpp:190)
==22036== 
==22036== 16 bytes in 1 blocks are definitely lost in loss record 378 of 2,413
==22036==    at 0x4C2E19F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==22036==    by 0x34957F: Titanic::CGameState::addMovie(Titanic::CMovie*) (game_state.cpp:166)
==22036==    by 0x21783D: Titanic::CGameObject::playMovie(int, int, unsigned int) (game_object.cpp:662)
==22036==    by 0x276D08: Titanic::CCaptainsWheel::ActMsg(Titanic::CActMsg*) (captains_wheel.cpp:95)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x2BF308: Titanic::CMessage::execute(Titanic::CString const&, Titanic::ClassDef const*, int) (messages.cpp:80)
==22036==    by 0x29D9E8: Titanic::CWheelSpin::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (wheel_spin.cpp:53)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x26AD22: Titanic::CViewItem::handleMouseMsg(Titanic::CMouseMsg*, bool) (view_item.cpp:295)
==22036==    by 0x26A70B: Titanic::CViewItem::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (view_item.cpp:190)
==22036== 
==22036== 16 bytes in 1 blocks are definitely lost in loss record 379 of 2,413
==22036==    at 0x4C2E19F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==22036==    by 0x34957F: Titanic::CGameState::addMovie(Titanic::CMovie*) (game_state.cpp:166)
==22036==    by 0x21783D: Titanic::CGameObject::playMovie(int, int, unsigned int) (game_object.cpp:662)
==22036==    by 0x276EB3: Titanic::CCaptainsWheel::ActMsg(Titanic::CActMsg*) (captains_wheel.cpp:120)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x2BF308: Titanic::CMessage::execute(Titanic::CString const&, Titanic::ClassDef const*, int) (messages.cpp:80)
==22036==    by 0x29D672: Titanic::CWheelHotSpot::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (wheel_hotspot.cpp:60)
==22036==    by 0x2BF47F: Titanic::CMessage::perform(Titanic::CTreeItem*) (messages.cpp:107)
==22036==    by 0x2BF224: Titanic::CMessage::execute(Titanic::CTreeItem*, Titanic::ClassDef const*, int) (messages.cpp:60)
==22036==    by 0x26AD22: Titanic::CViewItem::handleMouseMsg(Titanic::CMouseMsg*, bool) (view_item.cpp:295)
==22036==    by 0x26A70B: Titanic::CViewItem::MouseButtonDownMsg(Titanic::CMouseButtonDownMsg*) (view_item.cpp:190)

Change History (1)

comment:1 by dreammaster, 7 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.