diff options
author | Damien F. Katz <damien@apache.org> | 2010-04-19 20:51:32 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2010-04-19 20:51:32 +0000 |
commit | 5c758e7f2ca47b1285d08f170b5105b618fb956e (patch) | |
tree | d5dcdedfaac3f8bd23e8f6a9a86494dcf1324ab8 /src/couchdb | |
parent | c9501ba2a878689cedb87efbb96c5b6637eb271b (diff) |
Fix to close users db immediately after authentication.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@935737 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_auth.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd_auth.erl b/src/couchdb/couch_httpd_auth.erl index c4683af4..281a8e38 100644 --- a/src/couchdb/couch_httpd_auth.erl +++ b/src/couchdb/couch_httpd_auth.erl @@ -202,6 +202,8 @@ get_user_props_from_db(UserName) -> catch throw:_Throw -> nil + after + couch_db:close(Db) end. % this should handle creating the ddoc |