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:
parent
3d871e230f
commit
9595fc0560
1 changed files with 2 additions and 4 deletions
|
@ -1118,11 +1118,9 @@ void DAVResourceAccess::resetUri()
|
|||
osl::Guard< osl::Mutex > aGuard( m_aMutex );
|
||||
if ( ! m_aRedirectURIs.empty() )
|
||||
{
|
||||
auto const it = m_aRedirectURIs.begin();
|
||||
|
||||
CurlUri const& aUri( *it );
|
||||
OUString sURI = m_aRedirectURIs.front().GetURI();
|
||||
m_aRedirectURIs.clear();
|
||||
setURL ( aUri.GetURI() );
|
||||
setURL(sURI);
|
||||
initialize();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue