Have I to free the string buffer returned by sqlite3_errmsg?
If I write something like: char *err; err = (char *) sqlite3_errmsg(db); if (err) sqlite3_free(err); or if (err) free(err); then, OSX gives me a "Deallocation of a pointer not malloced" error... So it seems that I haven't to free it, right? Any help? Thanks, Marco Bambini