ucb/source/ucp/webdav-curl/DAVTypes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ee7a590994c3853945fd7fa0c41e4755e741f2b9 Author: Giuseppe Castagno <[email protected]> AuthorDate: Sat Aug 20 21:00:03 2016 +0200 Commit: Michael Stahl <[email protected]> CommitDate: Mon Nov 1 18:44:32 2021 +0100 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 <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx index a7864350fbac..fd4cf2283ecd 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 }
