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>
This commit is contained in:
@@ -447,6 +447,7 @@ void Reader::readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1) {
|
|||||||
uno_threadpool_putJob(
|
uno_threadpool_putJob(
|
||||||
bridge_->getThreadPool(), tid.getHandle(), resp.get(), nullptr,
|
bridge_->getThreadPool(), tid.getHandle(), resp.get(), nullptr,
|
||||||
false);
|
false);
|
||||||
|
// coverity[leaked_storage] - "Bridge::makeCall" destroys resp when received
|
||||||
resp.release();
|
resp.release();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user