Commit f1e0a444 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fix crash for linphone_core_get_callbacks_list

parent 9fa66fc3
......@@ -349,7 +349,7 @@ void linphone_core_remove_listener(LinphoneCore *lc, const LinphoneCoreVTable *v
bctbx_list_t *linphone_core_get_callbacks_list(const LinphoneCore *lc) {
bctbx_list_t *result;
bctbx_list_t *result = NULL;
bctbx_list_t *it;
for(it=lc->vtable_refs; it!=NULL; it=it->next){
VTableReference *ref=(VTableReference*)it->data;
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