mirror of
https://gitee.com/openharmony/account_os_account
synced 2024-11-23 10:10:11 +00:00
bugfix for appAccount
Signed-off-by: daicuini <daicuini2@huawei.com>
This commit is contained in:
parent
2c8a6a4241
commit
53a80d7900
@ -688,6 +688,8 @@ CArrAuthTokenInfo CJAppAccountImpl::Convert2CArrAuthTokenInfo(const std::vector<
|
||||
for (; i < in.size(); ++i) {
|
||||
res.head[i].authType = MallocCString(in[i].authType);
|
||||
res.head[i].token = MallocCString(in[i].token);
|
||||
res.head[i].account.owner = MallocCString(std::string());
|
||||
res.head[i].account.name = MallocCString(std::string());
|
||||
}
|
||||
res.size = i;
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user