Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ valgrind --leak-check=full ./Teemu
- ==18441== Memcheck, a memory error detector
- ==18441== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
- ==18441== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
- ==18441== Command: ./Teemu
- ==18441==
- ==18441== Mismatched free() / delete / delete []
- ==18441== at 0x4024851: operator delete(void*) (vg_replace_malloc.c:387)
- ==18441== by 0x805D0A7: Tar_Ball::Load(K_File*) (tarball.cpp:158)
- ==18441== by 0x805C8E3: Score::Load(K_File*) (score.cpp:73)
- ==18441== by 0x804AADE: Game::Game() (game.cpp:42)
- ==18441== by 0x805D4D3: main (teemu.cpp:30)
- ==18441== Address 0x4c8dcc0 is 0 bytes inside a block of size 19 alloc'd
- ==18441== at 0x402532E: operator new[](unsigned int) (vg_replace_malloc.c:299)
- ==18441== by 0x805D002: Tar_Ball::Load(K_File*) (tarball.cpp:151)
- ==18441== by 0x805C8E3: Score::Load(K_File*) (score.cpp:73)
- ==18441== by 0x804AADE: Game::Game() (game.cpp:42)
- ==18441== by 0x805D4D3: main (teemu.cpp:30)
- ==18441==
- ==18441==
- ==18441== HEAP SUMMARY:
- ==18441== in use at exit: 89,489 bytes in 1,336 blocks
- ==18441== total heap usage: 16,634 allocs, 15,298 frees, 3,786,739 bytes allocated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement