All pastes #395405 Raw Edit

Mine

public cpp v1 · immutable
·published 2007-03-15 00:31 UTC
rendered paste body
Entrez un caract&#65533;e==10415== ==10415== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)==10415== malloc/free: in use at exit: 830 bytes in 22 blocks.==10415== malloc/free: 22 allocs, 0 frees, 830 bytes allocated.==10415== For counts of detected errors, rerun with: -v==10415== searching for pointers to 22 not-freed blocks.==10415== checked 112,852 bytes.==10415== ==10415== 120 bytes in 8 blocks are still reachable in loss record 1 of 3==10415==    at 0x4021396: malloc (vg_replace_malloc.c:149)==10415==    by 0x8049C56: Array::allocate(unsigned) (memory.cxx:123)==10415==    by 0x8049650: operator new(unsigned) (memory.cxx:200)==10415==    by 0x80490AD: Vecteur::lireVecteur() (Vecteur.cxx:99)==10415==    by 0x80492D4: main (main.cxx:13)==10415== ==10415== ==10415== 256 bytes in 2 blocks are still reachable in loss record 2 of 3==10415==    at 0x4021396: malloc (vg_replace_malloc.c:149)==10415==    by 0x80497B2: Array::Array(char const*) (memory.cxx:91)==10415==    by 0x804953F: __static_initialization_and_destruction_0(int, int) (memory.cxx:192)==10415==    by 0x80495A4: _GLOBAL__I__Znwj (memory.cxx:220)==10415==    by 0x8049DBA: (within /home/maxence/cours/TPC++/Vecteur/Debug/Vecteur)==10415==    by 0x80488E4: (within /home/maxence/cours/TPC++/Vecteur/Debug/Vecteur)==10415==    by 0x8049D48: __libc_csu_init (in /home/maxence/cours/TPC++/Vecteur/Debug/Vecteur)==10415==    by 0x4156870: (below main) (in /lib/tls/i686/cmov/libc-2.4.so)==10415== ==10415== ==10415== 454 bytes in 12 blocks are definitely lost in loss record 3 of 3==10415==    at 0x4021396: malloc (vg_replace_malloc.c:149)==10415==    by 0x8049C56: Array::allocate(unsigned) (memory.cxx:123)==10415==    by 0x8049650: operator new(unsigned) (memory.cxx:200)==10415==    by 0x40BD87A: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)==10415==    by 0x40BE807: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned) (in /usr/lib/libstdc++.so.6.0.8)==10415==    by 0x40C0227: std::string::reserve(unsigned) (in /usr/lib/libstdc++.so.6.0.8)==10415==    by 0x40A8802: std::num_get<char, std::istreambuf_iterator<char, std::char_traits<char> > >::do_get(std::istreambuf_iterator<char, std::char_traits<char> >, std::istreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, std::_Ios_Iostate&, float&) const (in /usr/lib/libstdc++.so.6.0.8)==10415==    by 0x4091596: std::istream::operator>>(float&) (in /usr/lib/libstdc++.so.6.0.8)==10415==    by 0x80498A1: Array::Array(char const*) (memory.cxx:106)==10415==    by 0x804953F: __static_initialization_and_destruction_0(int, int) (memory.cxx:192)==10415==    by 0x80495A4: _GLOBAL__I__Znwj (memory.cxx:220)==10415==    by 0x8049DBA: (within /home/maxence/cours/TPC++/Vecteur/Debug/Vecteur)==10415== ==10415== LEAK SUMMARY:==10415==    definitely lost: 454 bytes in 12 blocks.==10415==      possibly lost: 0 bytes in 0 blocks.==10415==    still reachable: 376 bytes in 10 blocks.==10415==         suppressed: 0 bytes in 0 blocks.