this should never happen, but just in case, this will at least calm coverity

This commit is contained in:
Michael Jerris
2014-04-28 16:30:19 -04:00
parent 7e2499355a
commit 6e41898517
+1 -1
View File
@@ -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;
}