mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-18 17:54:39 -04:00
fix memory leak
Signed-off-by: shilei <shilei91@huawei.com> Change-Id: Id832a6718fd16de4375b6f63f1ab9ae91afe8ddc
This commit is contained in:
@@ -128,6 +128,9 @@ uint8_t BundleInnerFeature::InstallInnerBundle(const uint8_t funcId, IpcIo *req,
|
||||
}
|
||||
uint8_t svcIdentityInfoRsp = GetSvcIdentityInfo(info, &svc, reqPath, req);
|
||||
if (svcIdentityInfoRsp != ERR_OK) {
|
||||
AdapterFree(info->path);
|
||||
AdapterFree(info->svc);
|
||||
AdapterFree(info);
|
||||
return svcIdentityInfoRsp;
|
||||
}
|
||||
Request request = {
|
||||
|
||||
Reference in New Issue
Block a user