diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-20 21:00:03 +0200 |
---|---|---|
committer | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-08-21 06:32:54 +0000 |
commit | 6431e91eca9e44684066a32ed3d6411509dac781 (patch) | |
tree | 929812125bfa8bf85f65062c19e3fb32aacdfbf9 | |
parent | 932804559e845fb8ec6ac3a3b49308136a7e81e6 (diff) |
tdf#101094 (26): Fix possible early relase of cache mutex
Change-Id: If42393b2738ab107d380e55a0cbf2d6fa9940130
Reviewed-on: https://gerrit.libreoffice.org/28265
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Tested-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
-rw-r--r-- | ucb/source/ucp/webdav-neon/DAVTypes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.cxx b/ucb/source/ucp/webdav-neon/DAVTypes.cxx index 8613bdae5a8c..af1079ca66e6 100644 --- a/ucb/source/ucp/webdav-neon/DAVTypes.cxx +++ b/ucb/source/ucp/webdav-neon/DAVTypes.cxx @@ -98,7 +98,7 @@ bool DAVOptionsCache::getDAVOptions( const OUString & rURL, DAVOptions & rDAVOpt if ( (*it).second.getStaleTime() < t1.Seconds ) { // if stale, remove from cache, do not restore - removeDAVOptions( rURL ); + m_aTheCache.erase( it ); return false; // return false instead } |