Advertisement
Guest User

asd

a guest
May 21st, 2010
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. $ valgrind --leak-check=full ./Teemu
  2. ==18441== Memcheck, a memory error detector
  3. ==18441== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
  4. ==18441== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
  5. ==18441== Command: ./Teemu
  6. ==18441==
  7. ==18441== Mismatched free() / delete / delete []
  8. ==18441== at 0x4024851: operator delete(void*) (vg_replace_malloc.c:387)
  9. ==18441== by 0x805D0A7: Tar_Ball::Load(K_File*) (tarball.cpp:158)
  10. ==18441== by 0x805C8E3: Score::Load(K_File*) (score.cpp:73)
  11. ==18441== by 0x804AADE: Game::Game() (game.cpp:42)
  12. ==18441== by 0x805D4D3: main (teemu.cpp:30)
  13. ==18441== Address 0x4c8dcc0 is 0 bytes inside a block of size 19 alloc'd
  14. ==18441== at 0x402532E: operator new[](unsigned int) (vg_replace_malloc.c:299)
  15. ==18441== by 0x805D002: Tar_Ball::Load(K_File*) (tarball.cpp:151)
  16. ==18441== by 0x805C8E3: Score::Load(K_File*) (score.cpp:73)
  17. ==18441== by 0x804AADE: Game::Game() (game.cpp:42)
  18. ==18441== by 0x805D4D3: main (teemu.cpp:30)
  19. ==18441==
  20. ==18441==
  21. ==18441== HEAP SUMMARY:
  22. ==18441== in use at exit: 89,489 bytes in 1,336 blocks
  23. ==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