Remove redundant check for null

We're asserting now, and we would have already blown up from
dereferencing earlier.
This commit is contained in:
Travis Cross 2014-05-29 14:25:49 +00:00
parent 6663692ff7
commit 609982cf2f
1 changed files with 1 additions and 1 deletions

View File

@ -1501,7 +1501,7 @@ static void *SWITCH_THREAD_FUNC outbound_ringall_thread_run(switch_thread_t *thr
stream2.write_function(&stream2, "%s,", h->uuid);
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);
}
}