summaryrefslogtreecommitdiffstats
path: root/binaryurp
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp')
-rw-r--r--binaryurp/source/reader.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/binaryurp/source/reader.cxx b/binaryurp/source/reader.cxx
index fa5e91be704e..c40aeadea7df 100644
--- a/binaryurp/source/reader.cxx
+++ b/binaryurp/source/reader.cxx
@@ -335,9 +335,8 @@ void Reader::readMessage(Unmarshal & unmarshal) {
bridge_->incrementActiveCalls();
}
uno_threadpool_putJob(
- bridge_->getThreadPool(), tid.getHandle(), req.get(), &request,
+ bridge_->getThreadPool(), tid.getHandle(), req.release(), &request,
!synchronous);
- req.release();
}
}
@@ -443,9 +442,8 @@ void Reader::readReplyMessage(Unmarshal & unmarshal, sal_uInt8 flags1) {
std::unique_ptr< IncomingReply > resp(
new IncomingReply(exc, ret, outArgs));
uno_threadpool_putJob(
- bridge_->getThreadPool(), tid.getHandle(), resp.get(), nullptr,
+ bridge_->getThreadPool(), tid.getHandle(), resp.release(), nullptr,
false);
- resp.release();
break;
}
case OutgoingRequest::KIND_REQUEST_CHANGE: