mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-10 06:38:00 +00:00
sip_header_as_string returns new memory alloc'd on the nua_handle's memory pool. This memory would not be freed until the handle was destroyed. Since there is no usage of the call-info header after it is added to the event as a header value, we should make sure to both su_free the sofia returned string, but also more cleanly create the event header value to reduce a strdup.
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
236 MiB
Languages
C
65.2%
C++
20.8%
JavaScript
4.8%
Assembly
2%
Makefile
1%
Other
5.4%