From a5812f999471dbfeb590f8b94b1a157a3684cb93 Mon Sep 17 00:00:00 2001 From: jk13 Date: Wed, 29 Apr 2015 14:06:59 +0900 Subject: [PATCH] Fix IOT-504 issue of soft sensor manager 1. Fix IOT-504 issue which related to negative TC. - re-init failed after init using invalid configuration. Change-Id: I5a3acbbed2f02a35dd055a5c823cb9dde8cc31fe Signed-off-by: jk13 Reviewed-on: https://gerrit.iotivity.org/gerrit/868 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMCore.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMCore.cpp b/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMCore.cpp index b088d7e..023a040 100644 --- a/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMCore.cpp +++ b/service/soft-sensor-manager/SSMCore/src/SSMInterface/SSMCore.cpp @@ -65,7 +65,9 @@ CLEANUP: res != SSM_E_INITIALIZED) { SAFE_RELEASE(g_pSoftSensorManager); + DestroyGlobalInstanceRepo(); } + return res; } -- 2.7.4