aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Tang <gtang@affinegy.com>2017-05-18 10:37:30 -0500
committerGeorge Tang <gtang@affinegy.com>2017-06-02 09:32:32 -0500
commit5a86198c2505c099663e3c6b3f2fe3855f765f3e (patch)
treecb5d21790a51e471033a7dd25cbf14c53ba57368
parent2b25f758f3aa576970e4023f661dfead2da3c8f9 (diff)
ASACORE-3605 SecurityApplicationProxy IncRef
Added missing IncRef to fix crashes. Change-Id: I919f433f52e3a51ae546caf6485302d3bf5f2eff Signed-off-by: George Tang <gtang@affinegy.com>
-rw-r--r--alljoyn_java/jni/SecurityApplicationProxy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/alljoyn_java/jni/SecurityApplicationProxy.cc b/alljoyn_java/jni/SecurityApplicationProxy.cc
index f11eaf6..f412715 100644
--- a/alljoyn_java/jni/SecurityApplicationProxy.cc
+++ b/alljoyn_java/jni/SecurityApplicationProxy.cc
@@ -76,6 +76,7 @@ JNIEXPORT void JNICALL Java_org_alljoyn_bus_SecurityApplicationProxy_create(JNIE
return;
}
+ busPtr->IncRef();
SetHandle(thiz, securityApplicationProxyPtr);
if (jenv->ExceptionCheck()) {