Skip to content

Commit

Permalink
Merge pull request #87 from edquist/fd-leak
Browse files Browse the repository at this point in the history
fix apparent fd-leak of sqlite handle
  • Loading branch information
djw8605 authored Jun 22, 2022
2 parents bddd5f0 + 64d77c3 commit fdd411c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scitokens_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,5 +250,7 @@ scitokens::Validator::store_public_keys(const std::string &issuer, const picojso

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

sqlite3_finalize(stmt);
sqlite3_close(db);
return true;
}

0 comments on commit fdd411c

Please sign in to comment.