krb5: Use sqlite3_close(), not v2

This commit is contained in:
Nicolas Williams
2020-03-17 19:45:51 -05:00
parent a8874a62bb
commit 8f3b5e0862

View File

@@ -267,7 +267,7 @@ default_db(krb5_context context, const char *name, sqlite3 **db, char **file)
ret = sqlite3_open_v2(f, db, SQLITE_OPEN_READWRITE, NULL);
if (ret != SQLITE_OK) {
sqlite3_close_v2(*db);
sqlite3_close(*db);
krb5_clear_error_message(context);
free(f);
return ENOENT;