summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorHarish Kumara M <h.marappa@samsung.com>2018-12-05 14:18:51 +0530
committerDoHyun Pyun <dh79.pyun@samsung.com>2018-12-12 09:44:05 +0900
commit8d819a6b864e190823ef708f8f0f765c76f3810a (patch)
treed75b4e8283cc9e2f8961b063b8898175ea162f92 /service
parent5d4b2a43cbf047693ce53d2422c28d7a8df39203 (diff)
downloadiotivity-8d819a6b864e190823ef708f8f0f765c76f3810a.tar.gz
iotivity-8d819a6b864e190823ef708f8f0f765c76f3810a.tar.bz2
iotivity-8d819a6b864e190823ef708f8f0f765c76f3810a.zip
Fix for crash in JniOnPostListener
Crash was due to post response received on deleted JniOnPostListener object. This change make sure of valid JniOcResource object when CRUDN callback invoked from core stack layer. https://github.sec.samsung.net/RS7-IOTIVITY/IoTivity/pull/360 (cherry picked from commit 494f1578d7edceec084dd42b59c3198bdd2fb6a8) Change-Id: I5c7d42cbfaa522f2c4707cb0271422eecbd5b396 Signed-off-by: Harish Kumara M <h.marappa@samsung.com> Signed-off-by: pilli manikanta <p.manikanta@partner.samsung.com> Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Diffstat (limited to 'service')
-rwxr-xr-xservice/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/jni/JniJvm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/jni/JniJvm.h b/service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/jni/JniJvm.h
index ce8111ba5..30a5a64c0 100755
--- a/service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/jni/JniJvm.h
+++ b/service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/jni/JniJvm.h
@@ -65,8 +65,6 @@ extern jmethodID g_mid_CloudPropProvisioningStatus_ctor;
extern jmethodID g_mid_Integer_ctor;
extern jmethodID g_mid_OcRepresentation_N_ctor_bool;
-typedef void(*RemoveListenerCallback)(JNIEnv *env, jobject jListener);
-
/**
* @brief Get the native handle field
*/