toolkit/source/controls/animatedimages.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit e7da2b370c882d63d9087d2ea646fd9939023506 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Wed Sep 11 09:34:32 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Wed Sep 11 18:13:35 2024 +0200 cid#1607469 Data race condition Change-Id: Id9d55ce38c9348c5f8da3ce65af0cd1e0da96196 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173187 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx index 6b7399f072c6..971d6622130b 100644 --- a/toolkit/source/controls/animatedimages.cxx +++ b/toolkit/source/controls/animatedimages.cxx @@ -258,6 +258,7 @@ namespace toolkit { rtl::Reference<UnoControlModel> AnimatedImagesControlModel::Clone() const { + std::unique_lock aGuard( m_aMutex ); return new AnimatedImagesControlModel( *this ); }