Christian Smith wrote:
sqlite3_free, and the sqlite3GenericFree that implements it asserts that the pointer passed in is not NULL. So it is not safe to pass in a NULL pointer.

It should be safe, if sqlite3_free and co are mimicking the behaviour of the libc free. The current CVS implementation should therefore check for NULL and do nothing in this case.

I agree, this should be fixed. You should file a bug report.

Dennis Cote

Reply via email to