ModusCreateOrg/modite-adventure

Valgrind messages during load state

Closed this issue · 0 comments

==40853==    at 0x483CA3F: free (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==40853==    by 0x1333CE: FreeMem (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x12E303: BMemoryStream::~BMemoryStream() (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x1654C8: GGameState::LoadState(char const*) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x16101F: GGameState::GGameState(char const*) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x15C0A4: GGame::Run() (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x18F695: app_main (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x18F6E4: main (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==  Address 0xa0b4b00 is 0 bytes inside a block of size 1,186 alloc'd
==40853==    at 0x483C583: operator new[](unsigned long) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==40853==    by 0x12E25F: BMemoryStream::BMemoryStream(unsigned char*, unsigned int, unsigned int) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x18EDBB: GSavedGameList::LoadSavedGame(char const*) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x165138: GGameState::LoadState(char const*) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x16101F: GGameState::GGameState(char const*) (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x15C0A4: GGame::Run() (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x18F695: app_main (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==    by 0x18F6E4: main (in /home/jgarcia/projects/ldk-projects/modite-adventure-2019-game/modite-adventure/x/Modite)
==40853==