Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MacBook-Pro-de-Corentin:Documents corentinchatelin$ valgrind --leak-check=full ./test
- ==80386== Memcheck, a memory error detector
- ==80386== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==80386== Using Valgrind-3.14.0.GIT and LibVEX; rerun with -h for copyright info
- ==80386== Command: ./test
- ==80386==
- 9
- ==80386==
- ==80386== HEAP SUMMARY:
- ==80386== in use at exit: 38,558 bytes in 425 blocks
- ==80386== total heap usage: 504 allocs, 79 frees, 44,718 bytes allocated
- ==80386==
- ==80386== 4,096 bytes in 1 blocks are definitely lost in loss record 79 of 79
- ==80386== at 0x100007E11: malloc (vg_replace_malloc.c:302)
- ==80386== by 0x1002BE687: __smakebuf (in /usr/lib/system/libsystem_c.dylib)
- ==80386== by 0x1002D31D7: __swsetup (in /usr/lib/system/libsystem_c.dylib)
- ==80386== by 0x1002BD921: __sfvwrite (in /usr/lib/system/libsystem_c.dylib)
- ==80386== by 0x1002BDEFB: fwrite (in /usr/lib/system/libsystem_c.dylib)
- ==80386== by 0x100028D29: std::__1::__stdoutbuf<char>::overflow(int) (in /usr/lib/libc++.1.dylib)
- ==80386== by 0x10001E91C: std::__1::basic_streambuf<char, std::__1::char_traits<char> >::xsputn(char const*, long) (in /usr/lib/libc++.1.dylib)
- ==80386== by 0x10003EDB0: std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > std::__1::__pad_and_output<char, std::__1::char_traits<char> >(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, char const*, char const*, char const*, std::__1::ios_base&, char) (in /usr/lib/libc++.1.dylib)
- ==80386== by 0x10003E9A7: std::__1::num_put<char, std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> > >::do_put(std::__1::ostreambuf_iterator<char, std::__1::char_traits<char> >, std::__1::ios_base&, char, long) const (in /usr/lib/libc++.1.dylib)
- ==80386== by 0x1000247A4: std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(int) (in /usr/lib/libc++.1.dylib)
- ==80386== by 0x100000D24: main (in ./test)
- ==80386==
- ==80386== LEAK SUMMARY:
- ==80386== definitely lost: 4,096 bytes in 1 blocks
- ==80386== indirectly lost: 64 bytes in 1 blocks
- ==80386== possibly lost: 0 bytes in 0 blocks
- ==80386== still reachable: 0 bytes in 0 blocks
- ==80386== suppressed: 34,398 bytes in 423 blocks
- ==80386==
- ==80386== For counts of detected and suppressed errors, rerun with: -v
- ==80386== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 17 from 17)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement