From: jk13 Date: Wed, 29 Apr 2015 05:06:59 +0000 (+0900) Subject: Fix IOT-504 issue of soft sensor manager X-Git-Tag: 0.9.1~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5812f999471dbfeb590f8b94b1a157a3684cb93;p=contrib%2Fiotivity.git 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 --- 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; }