summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiban Prakash <p.jiban@samsung.com>2013-10-16 11:50:33 +0900
committerJiban Prakash <p.jiban@samsung.com>2013-10-16 17:41:03 +0900
commitbce6ef705a1e1074ed6c656d2c5ddda9d00bc3fd (patch)
tree259365cff887046359f56771913ad79f0e1db321
parent67afd2c302d25413caf2a9adacfa860cdb3b3c8d (diff)
downloadinstaller-bce6ef705a1e1074ed6c656d2c5ddda9d00bc3fd.tar.gz
installer-bce6ef705a1e1074ed6c656d2c5ddda9d00bc3fd.tar.bz2
installer-bce6ef705a1e1074ed6c656d2c5ddda9d00bc3fd.zip
Fixed Prevent issues for osp-installer
Change-Id: I8ccbeef7eced6cdaab2ca5bc699981154a58caad Signed-off-by: Jiban Prakash <p.jiban@samsung.com>
-rwxr-xr-xinc/InstallerDefs.h2
-rwxr-xr-xsrc/Manager/InstallerManager.cpp7
2 files changed, 1 insertions, 8 deletions
diff --git a/inc/InstallerDefs.h b/inc/InstallerDefs.h
index df89b7c..aa29698 100755
--- a/inc/InstallerDefs.h
+++ b/inc/InstallerDefs.h
@@ -23,7 +23,7 @@
#include "InstallerUtil.h"
-#define OSP_INSTALLER_VERSION "version=[20131015.1]"
+#define OSP_INSTALLER_VERSION "version=[20131016.1]"
#define DIR_BIN L"/bin"
#define DIR_INFO L"/info"
diff --git a/src/Manager/InstallerManager.cpp b/src/Manager/InstallerManager.cpp
index 5da3063..6b5b45b 100755
--- a/src/Manager/InstallerManager.cpp
+++ b/src/Manager/InstallerManager.cpp
@@ -1191,7 +1191,6 @@ int
InstallerManager::RequestHybrid(int operation, char* pkgPath, int apiVisibility)
{
InstallerError errorType = INSTALLER_ERROR_NONE;
- InstallerManager* pInstallManager = null;
InstallerOption option = INSTALLER_OPTION_NORMAL;
if (File::IsFileExist(DIR_OSP_APPLICATIONS_TEMP) == true)
@@ -1213,12 +1212,6 @@ InstallerManager::RequestHybrid(int operation, char* pkgPath, int apiVisibility)
TryCatch(errorType == INSTALLER_ERROR_NONE, , "Hybrid Package Installation failed.");
CATCH:
- if (pInstallManager)
- {
- pInstallManager->SetErrorType(errorType);
- pInstallManager->Release();
- }
-
if (File::IsFileExist(DIR_OSP_APPLICATIONS_TEMP) == true)
{
InstallerUtil::Remove(DIR_OSP_APPLICATIONS_TEMP);