Re: [sqlite] Possible Memory Leak

2006-12-21 Thread Jose Miguel Goncalves
rds, Brodie John Stanton wrote: Your program does not free the memory malloc'd by sqlite3_errmsg by calling sqlite3_free. I guess that Valgrind is telling you that. You don't have to worry about Sqlite. Jose Miguel Goncalves wrote: Hi, Running a simple sqlite3_open()/sqlite3_close() pr

[sqlite] Possible Memory Leak

2006-12-21 Thread Jose Miguel Goncalves
Hi, Running a simple sqlite3_open()/sqlite3_close() program (attached) I get a report of a possible memory leak in valgrind: $ valgrind --leak-check=full ./test_sqlite ==11992== Memcheck, a memory error detector. ==11992== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==11992