[Libreoffice-commits] core.git: ucb/source
Giuseppe Castagno
giuseppe.castagno at acca-esse.eu
Sun Aug 21 06:33:21 UTC 2016
ucb/source/ucp/webdav-neon/DAVTypes.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6431e91eca9e44684066a32ed3d6411509dac781
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date: Sat Aug 20 21:00:03 2016 +0200
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 at acca-esse.eu>
Tested-by: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.cxx b/ucb/source/ucp/webdav-neon/DAVTypes.cxx
index 8613bda..af1079c 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
}
More information about the Libreoffice-commits
mailing list