summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-09-24 01:40:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-09-24 01:40:45 +0000
commit10717131812eaf84724f3dcc50880e38d9e03f59 (patch)
treea045b00e12860fd8db61ddea153162d1ddf4671a
parent2972e8f4e129a5f29e60c3d28d5724f0fef1bc68 (diff)
parent052a957a90c4a3ea804f4e7239d7054011a0b1b5 (diff)
Merge "libbinder: don't ignore sendDecStrong error"
-rw-r--r--libs/binder/RpcState.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp
index dcba837a85..df935fe9e3 100644
--- a/libs/binder/RpcState.cpp
+++ b/libs/binder/RpcState.cpp
@@ -166,9 +166,7 @@ status_t RpcState::onBinderEntering(const sp<RpcSession>& session, uint64_t addr
// We have timesRecd RPC refcounts, but we only need to hold on to one
// when we keep the object. All additional dec strongs are sent
// immediately, we wait to send the last one in BpBinder::onLastDecStrong.
- (void)session->sendDecStrong(address);
-
- return OK;
+ return session->sendDecStrong(address);
}
// we don't know about this binder, so the other side of the connection