sfx2/source/dialog/styledlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 08042d2c32f86117828e50923333e9952d1d835d
Author: Caolán McNamara <[email protected]>
AuthorDate: Sun Aug 28 14:52:48 2022 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Sun Aug 28 22:06:38 2022 +0200
cid#1500646 silence Resource leak
Change-Id: I68ae618a2f828de0d4043cf4d986c915ac1e1a7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138944
Tested-by: Caolán McNamara <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index 0e2551102a2a..786a6401a62b 100644
--- a/sfx2/source/dialog/styledlg.cxx
+++ b/sfx2/source/dialog/styledlg.cxx
@@ -65,6 +65,7 @@ SfxStyleDialogController::SfxStyleDialogController
*/
SfxStyleDialogController::~SfxStyleDialogController()
{
+ // coverity[leaked_storage] - deliberate, ownership is really with m_rStyle
m_xExampleSet.release();
}