From 240bce257f2b478ac1c0138c34ddd617dc6a9011 Mon Sep 17 00:00:00 2001 From: "jihwan.seo" Date: Thu, 6 Oct 2016 15:21:16 +0900 Subject: [PATCH] fix android build failure issue with WITH_CLOUD=1 and secure mode Change-Id: I1f1cca166866fda08e2d644032eca7e721bf8db8 Signed-off-by: jihwan.seo Reviewed-on: https://gerrit.iotivity.org/gerrit/12861 Tested-by: jenkins-iotivity Reviewed-by: Ashok Babu Channa (cherry picked from commit ec9364d7abdbd06a406d2028cdfa27b315aefffe) Reviewed-on: https://gerrit.iotivity.org/gerrit/13061 --- android/android_api/base/jni/JniOcStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/android_api/base/jni/JniOcStack.cpp b/android/android_api/base/jni/JniOcStack.cpp index f87cd1a..03cb4ad 100644 --- a/android/android_api/base/jni/JniOcStack.cpp +++ b/android/android_api/base/jni/JniOcStack.cpp @@ -683,7 +683,7 @@ JNIEXPORT void JNICALL JNI_OnUnload(JavaVM *vm, void *reserved) #ifdef WITH_CLOUD env->DeleteGlobalRef(g_cls_OcAccountManager); #endif -#ifdef WITH_CLOUD +#ifdef __WITH_TLS__ env->DeleteGlobalRef(g_cls_OcCloudProvisioning); #endif env->DeleteGlobalRef(g_cls_OcOicSecAcl); -- 2.7.4