Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
8b71cc1f
Commit
8b71cc1f
authored
Jan 19, 2016
by
Brieuc Viel
Browse files
Fixes JNI crach around LinphoneConference constructor
parent
2e424342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
coreapi/linphonecore_jni.cc
coreapi/linphonecore_jni.cc
+1
-1
No files found.
coreapi/linphonecore_jni.cc
View file @
8b71cc1f
...
...
@@ -4328,7 +4328,7 @@ extern "C" jobject Java_org_linphone_core_LinphoneCoreImpl_createConference(JNIE
LinphoneConference
*
conference
;
jobject
jconference
;
if
(
jparams
)
params
=
(
LinphoneConferenceParams
*
)
env
->
GetLongField
(
params
_class
,
params_native_ptr_attr
);
if
(
jparams
)
params
=
(
LinphoneConferenceParams
*
)
env
->
GetLongField
(
j
params
,
params_native_ptr_attr
);
conference
=
linphone_core_create_conference_with_params
((
LinphoneCore
*
)
corePtr
,
params
);
if
(
conference
)
return
env
->
NewObject
(
conference_class
,
conference_constructor
,
(
jlong
)
conference
);
else
return
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment