| commit | ee7a590994c3853945fd7fa0c41e4755e741f2b9 | [log] |
|---|---|---|
| author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | Sat Aug 20 21:00:03 2016 +0200 |
| committer | Michael Stahl <michael.stahl@allotropia.de> | Mon Nov 01 18:44:32 2021 +0100 |
| tree | 97d8ea3264c3189f5e459aff69fd5c02d078b5b9 | |
| parent | be53d60f85706eeae3a9300e75cae6ed1cd4e642 [diff] |
ucb: webdav-curl: tdf#101094 (26): Fix possible early relase of cache mutex [ port of commit 6431e91eca9e44684066a32ed3d6411509dac781 ] Change-Id: I90391c38bf9d0f4acf68ce29b2382ad855aa56ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123480 Tested-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx index a786435..fd4cf22 100644 --- a/ucb/source/ucp/webdav-curl/DAVTypes.cxx +++ b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
@@ -100,7 +100,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 }