Hello,

It is on the website at the following address:

http://www.sqlite.org/c3ref/exec.html

The second paragraph states the following:

The error message passed back through the 5th parameter is held in
memory obtained from sqlite3_malloc(). To avoid a memory leak, the
calling application should call sqlite3_free() on any error message
returned through the 5th parameter when it has finished using the error
message.

Regards,

Otto

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of D. Richard Hipp
Sent: 13 August 2009 13:41
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Error 14 - SQLITE_CANTOPEN


On Aug 13, 2009, at 7:27 AM, Otto Grunewald wrote:
>
> When an error message is returned by sqlite3_exec the documentation
> states that you have to call sqlite3_free (sqlite3_free(void*)).
>


That sounds like a bug in the documentation.  Where are you seeing  
this, exactly.  I can't find it anywhere.


D. Richard Hipp
[email protected]



_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to