Commit 8a7f966a authored by Alexandre Savard's avatar Alexandre Savard

[#3247] Fix segfault in conference hangup

parent 0de37b81
......@@ -297,12 +297,13 @@ conference_removed_cb(DBusGProxy *proxy UNUSED, const gchar* confID, void * foo
while(participant) {
call = calllist_get(current_calls, (const gchar *)(participant->data));
DEBUG("DBUS: Remove participant %s", call->_callID);
if(call->_confID){
g_free(call->_confID);
call->_confID = NULL;
if(call) {
DEBUG("DBUS: Remove participant %s", call->_callID);
if(call->_confID){
g_free(call->_confID);
call->_confID = NULL;
}
}
participant = conference_next_participant(participant);
}
......
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