From f1e0a444018a655088057e84f078dc9ac90f4211 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 18 Oct 2017 13:34:34 +0200 Subject: [PATCH] Fix crash for linphone_core_get_callbacks_list --- coreapi/vtables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/vtables.c b/coreapi/vtables.c index 6588ddbc0..33eab6ccb 100644 --- a/coreapi/vtables.c +++ b/coreapi/vtables.c @@ -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;