AllDataType::alloc(DataType, int) (DataType.cxx:1268) leaks
Main Memory Database Cache
Brought to you by:
prabatuty
I run the testscript SQLGWTest under Performance directory
through valgrind tool as
valgrind --tool=memcheck --leak-check=full --show-reachable=yes
./SQLGWTest
and found memory leak
Error Summary :
==27919== 255 bytes in 1 blocks are still reachable in loss record 37 of
54
==27919== at 0x4005525: malloc (vg_replace_malloc.c:149)
==27919== by 0x4028EEE: AllDataType::alloc(DataType, int)
(DataType.cxx:1268)
==27919== by 0x4083E7D: SqlOdbcStatement::prepare(char*)
(SqlOdbcStatement.cxx:118)
==27919== by 0x40B3FAD: SqlGwStatement::prepare(char*)
(SqlGwStatement.cxx:55)
==27919== by 0x8048BF3: main (in csql/test/performance/SQLGWTest)