修复一些安全测试问题

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-03-15 20:01:16 +08:00
parent d872b7afc1
commit c8860856bb
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -1185,6 +1185,7 @@ namespace MiscServices {
}
int ret = AddClient(pid, uid, displayId, client, channel, *attribute);
delete attribute;
if (ret != ErrorCode::NO_ERROR) {
IMSA_HILOGE("PerUserSession::OnPrepareInput Aborted! %{public}s", ErrorCode::ToString(ret));
return;