mirror of
https://github.com/openharmony/appexecfwk_standard.git
synced 2026-07-21 09:25:21 -04:00
fix acls memory leak
Change-Id: I530f6fe94e603b403d0f3c5c380d2dac2f469a06 Signed-off-by: shuaiyutao <shuaiyutao1@huawei.com>
This commit is contained in:
@@ -1319,6 +1319,7 @@ public:
|
||||
|
||||
void SetAllowedAcls(const std::vector<std::string> &allowedAcls)
|
||||
{
|
||||
allowedAcls_.clear();
|
||||
for (const auto &acl : allowedAcls) {
|
||||
allowedAcls_.emplace_back(acl);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user