mirror of
https://github.com/openharmony/bundlemanager_bundle_framework_lite.git
synced 2026-07-19 12:13:04 -04:00
!245 fix memory leak
Merge pull request !245 from sunman4/OpenHarmony-3.0-LTS
This commit is contained in:
@@ -150,6 +150,9 @@ uint8_t BundleInnerFeature::InstallInnerBundle(const uint8_t funcId, IpcIo *req,
|
||||
svc = nullptr;
|
||||
#endif
|
||||
if (svcIdentityInfoRsp != ERR_OK) {
|
||||
AdapterFree(info->path);
|
||||
AdapterFree(info->svc);
|
||||
AdapterFree(info);
|
||||
return svcIdentityInfoRsp;
|
||||
}
|
||||
Request request = {
|
||||
|
||||
Reference in New Issue
Block a user