summaryrefslogtreecommitdiff
path: root/src/Context/InstallationContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Context/InstallationContext.cpp')
-rwxr-xr-xsrc/Context/InstallationContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Context/InstallationContext.cpp b/src/Context/InstallationContext.cpp
index bfa88b2..fa4a891 100755
--- a/src/Context/InstallationContext.cpp
+++ b/src/Context/InstallationContext.cpp
@@ -106,10 +106,10 @@ InstallerError
InstallationContext::Construct(void)
{
__pPackageInfoImpl = new (std::nothrow) _PackageInfoImpl();
- TryReturn(__pPackageInfoImpl, INSTALLER_ERROR_MEMORY, "[osp-installer] __pPackageInfoImpl is null.");
+ TryReturn(__pPackageInfoImpl, INSTALLER_ERROR_OUT_OF_MEMORY, "[osp-installer] __pPackageInfoImpl is null.");
__pAppDataList = new (std::nothrow) ArrayListT<AppData*>;
- TryReturn(__pAppDataList, INSTALLER_ERROR_MEMORY, "[osp-installer] __pAppDataList is null");
+ TryReturn(__pAppDataList, INSTALLER_ERROR_OUT_OF_MEMORY, "[osp-installer] __pAppDataList is null");
return INSTALLER_ERROR_NONE;
}