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

[#3247] Fix segfault in conference hangup

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