Fix a crash in CallFlow when checking new messages

This commit is contained in:
Kaian 2015-01-29 13:07:04 +01:00
parent 4f2bb67a12
commit 1148564156

View File

@ -127,6 +127,10 @@ call_flow_redraw_required(PANEL *panel, sip_msg_t *msg)
if (!(info = call_flow_info(panel)))
return -1;
// Check we have calls in this panel
if (!info->group)
return -1;
// Check if the owner of the message is in the displayed group
for (i = 0; i < info->group->callcnt; i++) {
if (info->group->calls[i] == msg->call) {