==9119== Memcheck, a memory error detector ==9119== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==9119== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==9119== Command: ./a.out ==9119== ==9119== ==9119== HEAP SUMMARY: ==9119== in use at exit: 214,416 bytes in 501 blocks ==9119== total heap usage: 1,080 allocs, 579 frees, 1,892,300 bytes allocated ==9119== ==9119== 32 bytes in 1 blocks are possibly lost in loss record 2 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x404708E: T.447 (new_allocator.h:89) ==9119== by 0x404725F: mysqlpp::DBDriver::DBDriver() (stl_deque.h:375) ==9119== by 0x4041A3D: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== 32 bytes in 1 blocks are possibly lost in loss record 3 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x404708E: T.447 (new_allocator.h:89) ==9119== by 0x40472CE: mysqlpp::DBDriver::DBDriver() (stl_deque.h:375) ==9119== by 0x4041A3D: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== 512 bytes in 1 blocks are possibly lost in loss record 4 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x40470A7: T.447 (new_allocator.h:89) ==9119== by 0x40472CE: mysqlpp::DBDriver::DBDriver() (stl_deque.h:375) ==9119== by 0x4041A3D: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== 1,056 bytes in 1 blocks are possibly lost in loss record 5 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x4041A33: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== 1,536 bytes in 3 blocks are possibly lost in loss record 6 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x40470A7: T.447 (new_allocator.h:89) ==9119== by 0x404725F: mysqlpp::DBDriver::DBDriver() (stl_deque.h:375) ==9119== by 0x4041A3D: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== 211,232 (104,544 direct, 106,688 indirect) bytes in 99 blocks are definitely lost in loss record 11 of 11 ==9119== at 0x4026351: operator new(unsigned int) (vg_replace_malloc.c:255) ==9119== by 0x4041A33: mysqlpp::Connection::Connection(char const*, char const*, char const*, char const*, unsigned int) (connection.cpp:50) ==9119== by 0x80487AA: main (in /home/gz/Projects/mysqlpp/a.out) ==9119== ==9119== LEAK SUMMARY: ==9119== definitely lost: 104,544 bytes in 99 blocks ==9119== indirectly lost: 106,688 bytes in 394 blocks ==9119== possibly lost: 3,168 bytes in 7 blocks ==9119== still reachable: 16 bytes in 1 blocks ==9119== suppressed: 0 bytes in 0 blocks ==9119== Reachable blocks (those to which a pointer was found) are not shown. ==9119== To see them, rerun with: --leak-check=full --show-reachable=yes ==9119== ==9119== For counts of detected and suppressed errors, rerun with: -v ==9119== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 33 from 10)