[IOT-1417] Fix Sign Up/In/Out Workflow
authorAndrii Shtompel <a.shtompel@samsung.com>
Tue, 11 Oct 2016 08:53:09 +0000 (11:53 +0300)
committerRandeep Singh <randeep.s@samsung.com>
Wed, 12 Oct 2016 04:33:40 +0000 (04:33 +0000)
Change-Id: Icfadd8e40fcb8cbf8d962464d8bc1372b302d5c6
Signed-off-by: Andrii Shtompel <a.shtompel@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13093
Reviewed-by: Dmitriy Zhuravlev <d.zhuravlev@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Kevin Kane <kkane@microsoft.com>
Reviewed-by: Randeep Singh <randeep.s@samsung.com>
resource/provisioning/examples/cloudAuth.cpp

index cd9313d..f68e7df 100644 (file)
@@ -401,8 +401,6 @@ OCStackApplicationResult handleCloudSignOutResponse(void *ctx,
         OIC_LOG_V(ERROR, TAG, "Sign Out OK");
     }
 
-    SessionFree();
-
     OIC_LOG_V(DEBUG, TAG, "OUT: %s", __func__);
 
 exit: