ipc/rpc codex fixed

Signed-off-by: liubb_0516 <liubeibei8@huawei.com>
This commit is contained in:
liubb_0516 2022-03-11 09:08:09 +08:00
parent 6e68add5f7
commit 817eba3123

View File

@ -144,7 +144,6 @@ IRemoteObject *IPCProcessSkeleton::FindOrNewObject(int handle)
auto proxy = new (std::nothrow) IPCObjectProxy(handle, descriptor);
if (proxy == nullptr) {
DBINDER_LOGE("create ipc object proxy failed");
return nullptr;
}
proxy->AttemptAcquire(this); // AttemptAcquire always returns true as life time is extended