crashtesting: use after free
commit 8393267c65
CommitDate: Tue Nov 12 09:03:21 2024 +0100
clang-tidy: performance-unnecessary-copy-initialization in various
Change-Id: I1033c33a6b4bf06e365ce183b1a73c98bea777ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176442
Change-Id: Id9e253b849c74a2828ef889f9a13854de0fe2f8b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176693
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
@@ -1118,11 +1118,9 @@ void DAVResourceAccess::resetUri()
|
|||||||
osl::Guard< osl::Mutex > aGuard( m_aMutex );
|
osl::Guard< osl::Mutex > aGuard( m_aMutex );
|
||||||
if ( ! m_aRedirectURIs.empty() )
|
if ( ! m_aRedirectURIs.empty() )
|
||||||
{
|
{
|
||||||
auto const it = m_aRedirectURIs.begin();
|
OUString sURI = m_aRedirectURIs.front().GetURI();
|
||||||
|
|
||||||
CurlUri const& aUri( *it );
|
|
||||||
m_aRedirectURIs.clear();
|
m_aRedirectURIs.clear();
|
||||||
setURL ( aUri.GetURI() );
|
setURL(sURI);
|
||||||
initialize();
|
initialize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user