mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-20 23:55:24 -04:00
!5 【OpenHarmony】【应用程序框架子系统】解决重复释放内存问题
Merge pull request !5 from wangdengjia/issue_#I3IT8I
This commit is contained in:
@@ -163,6 +163,7 @@ bool BundleResTransform::ConvertDesResIdToBundleInfo(const std::string &path, ui
|
||||
if (!AbilityInfoUtils::SetAbilityInfoDescription(bundleInfo->abilityInfos + index, description)) {
|
||||
HILOG_ERROR(HILOG_MODULE_APP, "set description resId in abilityInfo fail!");
|
||||
AdapterFree(description);
|
||||
return false;
|
||||
}
|
||||
AdapterFree(description);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user