summaryrefslogtreecommitdiffstats
path: root/binaryurp
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-27 10:39:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-27 12:47:58 +0200
commitea892cc0ea96f94c5a51227b897694f18b2b785b (patch)
treea31c282eb02334f7b9e2ff8ede3cb2371520dfe6 /binaryurp
parentcid#1500516 Explicit null dereferenced (diff)
downloadcore-ea892cc0ea96f94c5a51227b897694f18b2b785b.tar.gz
core-ea892cc0ea96f94c5a51227b897694f18b2b785b.zip
cid#1500523 silence Resource leak
Change-Id: I9c2d026cb71615ac3121f47e47a6b0b163e820f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138925 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'binaryurp')
-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 cbd18f1d8252..5f8518742147 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -338,6 +338,7 @@ void Reader::readMessage(Unmarshal & unmarshal) {
uno_threadpool_putJob(
bridge_->getThreadPool(), tid.getHandle(), req.get(), &request,
!synchronous);
+ // coverity[leaked_storage] - "request" destroys req when executed
req.release();
}
}