binaryurp/source/reader.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 341d1462c23214a63293f62c6d5d42a27fd8e6fc
Author: Caolán McNamara <[email protected]>
AuthorDate: Sat Aug 27 10:49:40 2022 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Sat Aug 27 13:13:29 2022 +0200
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 <[email protected]>
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;
}