mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
fix small leak in var arrays
This commit is contained in:
parent
84bace0701
commit
3b660a06e5
@ -1022,6 +1022,7 @@ static switch_status_t switch_event_base_add_header(switch_event_t *event, switc
|
||||
}
|
||||
|
||||
} else {
|
||||
switch_safe_free(header->value);
|
||||
header->value = data;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user