Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise.
This commit is contained in:
parent
5c60bd6b42
commit
97918f473b
|
@ -916,8 +916,10 @@ static switch_status_t switch_event_base_add_header(switch_event_t *event, switc
|
|||
if (index_ptr || (stack & SWITCH_STACK_PUSH) || (stack & SWITCH_STACK_UNSHIFT)) {
|
||||
|
||||
if (!(header = switch_event_get_header_ptr(event, header_name)) && index_ptr) {
|
||||
|
||||
header = new_header(header_name);
|
||||
/*
|
||||
* Removing a possible leak. But it doesn't appear this is used anywhere, and even if it were then it wouldn't be working.
|
||||
header = new_header(header_name);
|
||||
*/
|
||||
|
||||
if (switch_test_flag(event, EF_UNIQ_HEADERS)) {
|
||||
switch_event_del_header(event, header_name);
|
||||
|
|
Loading…
Reference in New Issue