From 08042d2c32f86117828e50923333e9952d1d835d Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Sun, 28 Aug 2022 14:52:48 +0100
Subject: cid#1500646 silence Resource leak
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I68ae618a2f828de0d4043cf4d986c915ac1e1a7d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138944
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
---
 sfx2/source/dialog/styledlg.cxx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sfx2')

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();
 }
 
-- 
cgit