|
From: Martin B. <mar...@co...> - 2003-12-29 16:18:39
|
Hi, Valgrind on linux seems to think that the ODBC driver causes a memory leak at the following places. Some leaks might be intentional, please apologize my badgering for those cases. Leaks in SQLDriverConnect: ==17804== 80 bytes in 4 blocks are definitely lost in loss record 8 of 17 ==17804== at 0x40029B1D: __builtin_new (vg_replace_malloc.c:172) ==17804== by 0x40029B88: operator new(unsigned) (vg_replace_malloc.c:185) ==17804== by 0x4E5348D5: IscDbcLibrary::Parameters::putValue(char const*, int, char const*, int) (Parameters.cpp:63) ==17804== by 0x4E5348B0: IscDbcLibrary::Parameters::putValue(char const*, char const*) (Parameters.cpp:57) ==17804== by 0x50179FDB: ??? ==17804== by 0x50176B6A: ??? ==17804== by 0x501736C4: ??? ==17804== by 0x432BDF52: SQLDriverConnect (SQLDriverConnect.c:1073) ==17804== 292 bytes in 56 blocks are still reachable in loss record 12 of 17 ==17804== at 0x40029C37: __builtin_vec_new (vg_replace_malloc.c:203) ==17804== by 0x40029CA2: operator new[](unsigned) (vg_replace_malloc.c:216) ==17804== by 0x4E53472C: IscDbcLibrary::Parameter::Parameter(IscDbcLibrary::Parameter*, char const*, int, char const*, int) (Parameter.cpp:49) ==17804== by 0x4E53490D: IscDbcLibrary::Parameters::putValue(char const*, int, char const*, int) (Parameters.cpp:63) ==17804== by 0x4E5348B0: IscDbcLibrary::Parameters::putValue(char const*, char const*) (Parameters.cpp:57) ==17804== by 0x50179EF4: ??? ==17804== by 0x50176B6A: ??? ==17804== by 0x501736C4: ??? ==17804== by 0x432BDF52: SQLDriverConnect (SQLDriverConnect.c:1073) ==17804== 480 bytes in 24 blocks are still reachable in loss record 14 of 17 ==17804== at 0x40029B1D: __builtin_new (vg_replace_malloc.c:172) ==17804== by 0x40029B88: operator new(unsigned) (vg_replace_malloc.c:185) ==17804== by 0x4E5348D5: IscDbcLibrary::Parameters::putValue(char const*, int, char const*, int) (Parameters.cpp:63) ==17804== by 0x4E5348B0: IscDbcLibrary::Parameters::putValue(char const*, char const*) (Parameters.cpp:57) ==17804== by 0x50179EA6: ??? ==17804== by 0x50176B6A: ??? ==17804== by 0x501736C4: ??? ==17804== by 0x432BDF52: SQLDriverConnect (SQLDriverConnect.c:1073) Regards, Martin. |