bugfix for appAccount

Signed-off-by: daicuini <daicuini2@huawei.com>
This commit is contained in:
daicuini 2024-11-05 01:30:29 +00:00 committed by Gitee
parent 2c8a6a4241
commit 53a80d7900
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;