Commit ca1e4f41 authored by Jaewook Jung's avatar Jaewook Jung Committed by Uze Choi

Fix a crash error on AccountManager APIs

Fix a crash error occurred when throwing jni exception.

Change-Id: I941b0f90c62e7965bd112f27061c4835e5e3a9bc
Signed-off-by: default avatarJaewook Jung <jw0213.jung@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20353Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
Tested-by: default avatarUze Choi <uzchoi@samsung.com>
parent 42da72c9
......@@ -28,6 +28,7 @@
if (!(arg)) \
{ \
ThrowOcException(exc, log_message); \
return; \
} \
JniOcAccountManager::JniOcAccountManager(std::shared_ptr<OCAccountManager> accountManager)
......@@ -70,7 +71,6 @@ OCConnectivityType JniOcAccountManager::connectivityType() const
}
std::shared_ptr<OCAccountManager> JniOcAccountManager::getOcAccountManagerObject() const
{
return m_sharedAccountManager;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment