use private destroy() function

This commit is contained in:
Andreas Steffen committed 2010-12-04 10:28:30 +01:00
1 parent cca86ba94d
commit c6fde416c4
1 file changed
+1 -1
@@ -337,7 +337,7 @@ sqlite_database_t *sqlite_database_create(char *uri)
{
DBG1(DBG_LIB, "opening SQLite database '%s' failed: %s",
file, sqlite3_errmsg(this->db));
destroy(this);
_destroy(this);
return NULL;
}