hdb: Fix SQLite3 backend bug
This commit is contained in:
@@ -1042,7 +1042,7 @@ hdb_sqlite_create(krb5_context context, HDB **db, const char *filename)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
free((*db)->hdb_db);
|
free((*db)->hdb_db);
|
||||||
free(*db);
|
free(*db);
|
||||||
|
*db = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user