Skip to content

Commit cf989b0

Browse files
committed
fix apparent fd-leak of sqlite handle
1 parent bddd5f0 commit cf989b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scitokens_cache.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,6 @@ scitokens::Validator::store_public_keys(const std::string &issuer, const picojso
250250

251251
sqlite3_exec(db, "COMMIT", 0, 0 , 0);
252252

253+
sqlite3_close(db);
253254
return true;
254255
}

0 commit comments

Comments
 (0)