diff --git a/interfaces/inner_api/include/app_identity.h b/interfaces/inner_api/include/app_identity.h index 9d37590ed..da35c2d06 100644 --- a/interfaces/inner_api/include/app_identity.h +++ b/interfaces/inner_api/include/app_identity.h @@ -115,7 +115,7 @@ public: static AppIdentity* Unmarshalling(Parcel& parcel) { - auto identity = std::make_shared(); + auto identity = new AppIdentity(); identity->ReadFromParcel(parcel); return identity; }