Menu

#433 AllDataType::alloc(DataType, int) (DataType.cxx:1235) leaks

open
nobody
None
5
2009-01-31
2009-01-31
No

i have run csql4.sql under the directory ( tools / csql ) with valgrind tool as follows

[lakshya@localhost catalog]$ valgrind --tool=memcheck --leak-check=yes
--show-reachable=yes csql -u root -p manager -s csql4.sql
and found memory leaks.

Error Summary :
==19798== 4 bytes in 1 blocks are indirectly lost in loss record 5 of 21
==19798== at 0x4005525: malloc (vg_replace_malloc.c:149)
==19798== by 0x40287DF: AllDataType::alloc(DataType, int) (DataType.cxx:1235)
==19798== by 0x405FE6D: InsStatement::resolve() (InsStatement.cxx:325)
==19798== by 0x4065C9B: SqlStatement::prepare(char*) (SqlStatement.cxx:67)
==19798== by 0x8049574: getInput(bool) (isql.cxx:304)
==19798== by 0x8049B11: main (isql.cxx:109)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.