forked from Mirrors/freeswitch
this should never happen, but just in case, this will at least calm coverity
This commit is contained in:
parent
7e2499355a
commit
6e41898517
@ -4869,7 +4869,7 @@ static void process_device_hup(switch_channel_t *channel)
|
||||
|
||||
if (!node->hold_record) {
|
||||
node->hold_record = newhr;
|
||||
} else {
|
||||
} else if (last) {
|
||||
last->next = newhr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user