mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
Remove redundant check for null
We're asserting now, and we would have already blown up from dereferencing earlier.
This commit is contained in:
parent
6663692ff7
commit
609982cf2f
@ -1501,7 +1501,7 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr
|
|||||||
stream2.write_function(&stream2, "%s,", h->uuid);
|
stream2.write_function(&stream2, "%s,", h->uuid);
|
||||||
switch_safe_free(parsed);
|
switch_safe_free(parsed);
|
||||||
|
|
||||||
if (expanded_originate_string && expanded_originate_string != h->originate_string) {
|
if (expanded_originate_string != h->originate_string) {
|
||||||
switch_safe_free(expanded_originate_string);
|
switch_safe_free(expanded_originate_string);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user