SqlOdbcStatement::prepare() (SqlOdbcStatement.cxx:115) leaks
Main Memory Database Cache
Brought to you by:
prabatuty
i run the testscript SQLAdapterTest under Performance directory
through valgrind tool as
valgrind --tool=memcheck --leak-check=full --show-reachable=yes
./SQLAdapterTest
and found Memory leak
Error Summary :
==28415== 16 bytes in 1 blocks are still reachable in loss record 2 of 36
==28415== at 0x4005CCC: operator new(unsigned) (vg_replace_malloc.c:163)
==28415== by 0x4083E3B: SqlOdbcStatement::prepare(char*) (SqlOdbcStatement.cxx:115)
==28415== by 0x8048BF3: main (in csql/test/performance/SQLAdapterTest)