diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-18 11:54:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-18 15:10:02 +0200 |
commit | 6e1be9f852f8b4901f3ae030fa50282c4468d61e (patch) | |
tree | d1b3ae2232f72b68ca031da8a0d80dc2aec03a45 /basic/source | |
parent | 05dba1a1236c662664d73bff322e4a54036f0860 (diff) |
cid#1500645 silence Resource leak
Change-Id: I1548017a39f5080dce0731169811fcb0a059c4d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138478
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sb.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 4e3e716a56ca..8d87330e469b 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -756,8 +756,8 @@ SbClassModuleObject::~SbClassModuleObject() if( !pDocBasicItem->isDocClosed() ) triggerTerminateEvent(); - // prevent the base class destructor from deleting these because - // we do not actually own them + // prevent the base class destructor from deleting this because: + // coverity[leaked_storage] - we do not actually own it pImage.release(); pBreaks = nullptr; } |