use private destroy() function
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 4 Dec 2010 09:28:30 +0000 (10:28 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 4 Dec 2010 09:28:30 +0000 (10:28 +0100)
src/libstrongswan/plugins/sqlite/sqlite_database.c

index 7d2bd17..f9e0619 100644 (file)
@@ -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;
        }