Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10717131 authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "libbinder: don't ignore sendDecStrong error"

parents 2972e8f4 052a957a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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