On 6/29/06, Richard Boyd <[EMAIL PROTECTED]> wrote:

I now check for NULL to be sure that I'm trying to free up a pointer that
actually points to something. Is there an easy way for me to ensure that the
memory has been successfully freed up? I understand this might be a basic C
question rather than a specific Sqlite question, so apologies for that...

If you're using malloc()/free() there is no indication returned when you call
free(). It's assumed to always work. What people typically do is set the
pointer to NULL if it's not pointing to a valid allocated block of memory.

Reply via email to