diff options
-rw-r--r-- | libs/binder/RpcState.cpp | 4 |
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 |