summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-27 10:49:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-27 13:13:29 +0200
commit341d1462c23214a63293f62c6d5d42a27fd8e6fc (patch)
tree60786ec2ae9740c41fc5a1dfa9558addd22da328
parentcid#1500569 silence Explicit null dereferenced (diff)
downloadcore-341d1462c23214a63293f62c6d5d42a27fd8e6fc.tar.gz
core-341d1462c23214a63293f62c6d5d42a27fd8e6fc.zip
cid#1500596 silence Resource leak
Change-Id: I4600c9cd0f7fdea698750ca416fc7f46dcebf23c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138928 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--binaryurp/source/reader.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index 5f8518742147..393d8312e43a 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -447,6 +447,7 @@ void Reader::readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1) {
uno_threadpool_putJob(
bridge_->getThreadPool(), tid.getHandle(), resp.get(), nullptr,
false);
+ // coverity[leaked_storage] - "Bridge::makeCall" destroys resp when received
resp.release();
break;
}