mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
fix possible JNI local ref overflow
This commit is contained in:
parent
e38fb7a661
commit
f67f749dc8
1 changed files with 1 additions and 0 deletions
|
|
@ -862,6 +862,7 @@ public:
|
|||
env->CallVoidMethod(callobj, lcData->callSetVideoStatsId, statsobj);
|
||||
env->CallVoidMethod(lcData->listener, lcData->callStatsUpdatedId, lcData->core, callobj, statsobj);
|
||||
handle_possible_java_exception(env, lcData->listener);
|
||||
if (statsobj) env->DeleteLocalRef(statsobj);
|
||||
}
|
||||
static void transferStateChanged(LinphoneCore *lc, LinphoneCall *call, LinphoneCallState remote_call_state){
|
||||
JNIEnv *env = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue