createStatement(SqlApiImplType) (SqlFactory.cxx:82) 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== 296 bytes in 1 blocks are still reachable in loss record 23 of 36
==28415== at 0x4005CCC: operator new(unsigned) (vg_replace_malloc.c:163)
==28415== by 0x406E5B4: SqlFactory::createStatement(SqlApiImplType) (SqlFactory.cxx:82)
==28415== by 0x80488F2: main (in /home/lakshya/FEBRUARY/feb3/csql/test/performance/SQLAdapterTest)