On 2 Jun 2017, at 10:18am, Stephane Guibert <stephane.guib...@external.cp.com> 
wrote:

> sqlite3_finalize(...
> sqlite3_close_v2(...
> }while

First, check out the result returned by sqlite3_close() as Clemens wrote.  If 
that doesn’t give a useful result code, continue.

After closing the file, execute sqlite3_shutdown().  Does this release the 
extra memory ?  If not, the memory is in use by your own code.  If that’s not 
the case, continue.

Remove the last sqlite3_step() command.  Does this remove the extra memory ?

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to