mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 15:10:32 +00:00
update frameworks/intl/src/locale_config.cpp.
ccm Signed-off-by: LY <liuyong235@huawei.com>
This commit is contained in:
parent
beb14dfb90
commit
18278704b1
@ -587,7 +587,9 @@ void LocaleConfig::LoadRegionsLanguages(unordered_set<std::string>& forbiddenReg
|
||||
reinterpret_cast<const xmlChar *>(FORBIDDEN_LANGUAGES_NAME))) {
|
||||
Split(reinterpret_cast<const char*>(content), ",", blockedLanguages);
|
||||
}
|
||||
if (!content) {
|
||||
xmlFree(content);
|
||||
}
|
||||
cur = cur->next;
|
||||
}
|
||||
xmlFreeDoc(doc);
|
||||
|
Loading…
Reference in New Issue
Block a user