summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-06-24 16:05:16 -0700
committer Yifan Hong <elsk@google.com> 2021-06-24 16:06:11 -0700
commit239a2cad316b690a193199b8a3df8edd2fac380c (patch)
tree26bec07c334598aacbbde09fbdadfc9f15b9ee0b /libs/binder/RpcState.cpp
parentf2acc8dc6149e11fbf63e92977b7451417c66be3 (diff)
RpcState: fix check.
Test: pass Change-Id: I876559699f17637060a19300ee6bcd4b4c2bd3fb
Diffstat (limited to 'libs/binder/RpcState.cpp')
-rw-r--r--libs/binder/RpcState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/RpcState.cpp b/libs/binder/RpcState.cpp
index fd2eff6870..32b4b78675 100644
--- a/libs/binder/RpcState.cpp
+++ b/libs/binder/RpcState.cpp
@@ -483,7 +483,7 @@ static void cleanup_reply_data(Parcel* p, const uint8_t* data, size_t dataSize,
delete[] const_cast<uint8_t*>(data - offsetof(RpcWireReply, data));
(void)dataSize;
LOG_ALWAYS_FATAL_IF(objects != nullptr);
- LOG_ALWAYS_FATAL_IF(objectsCount, 0);
+ LOG_ALWAYS_FATAL_IF(objectsCount != 0, "%zu objects remaining", objectsCount);
}
status_t RpcState::waitForReply(const sp<RpcSession::RpcConnection>& connection,