==29816== Memcheck, a memory error detector for x86-linux.
==29816== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward et al.
==29816== Using valgrind-2.2.0, a program supervision framework for x86-linux.
==29816== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward et al.
==29816== For more details, rerun with: -v
==29816==
==29816==
==29816== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==29816== malloc/free: in use at exit: 4438 bytes in 8 blocks.
==29816== malloc/free: 8 allocs, 0 frees, 4438 bytes allocated.
==29816== For counts of detected errors, rerun with: -v
==29816== searching for pointers to 8 not-freed blocks.
==29816== checked 2473300 bytes.
==29816==
==29816== 20 bytes in 5 blocks are still reachable in loss record 1 of 4
==29816== at 0x1B90506F: operator new(unsigned) (vg_replace_malloc.c:133)
==29816== by 0x1B96E5EE: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B96E845: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A2D29: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A5476: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A559B: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x80485B4: main (in /tmp/a.out)
==29816==
==29816==
==29816== 80 bytes in 1 blocks are still reachable in loss record 2 of 4
==29816== at 0x1B90506F: operator new(unsigned) (vg_replace_malloc.c:133)
==29816== by 0x1B96E5AE: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B96E845: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A2D29: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A5476: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A559B: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x80485B4: main (in /tmp/a.out)
==29816==
==29816==
==29816== 258 bytes in 1 blocks are still reachable in loss record 3 of 4
==29816== at 0x1B90506F: operator new(unsigned) (vg_replace_malloc.c:133)
==29816== by 0x1B96E55B: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B96E845: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A2D29: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A5476: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A559B: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x80485B4: main (in /tmp/a.out)
==29816==
==29816==
==29816== 4080 bytes in 1 blocks are still reachable in loss record 4 of 4
==29816== at 0x1B90506F: operator new(unsigned) (vg_replace_malloc.c:133)
==29816== by 0x1B96E9DD: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A2D29: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A5476: (within /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x1B9A559B: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.3)
==29816== by 0x80485B4: main (in /tmp/a.out)
==29816==
==29816== LEAK SUMMARY:
==29816== definitely lost: 0 bytes in 0 blocks.
==29816== possibly lost: 0 bytes in 0 blocks.
==29816== still reachable: 4438 bytes in 8 blocks.
==29816== suppressed: 0 bytes in 0 blocks.
Partager