mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-22 17:28:31 +00:00
388e119e555981e3a83a896338370b623dafe58d
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 unlock the telecommunications potential of any device.
BSD-3-Clause, ISC
235 MiB
0 Stars
1 Watchers
0 Forks
Languages
C
60.3%
C++
27.2%
JavaScript
4.3%
Assembly
1.7%
Makefile
1%
Other
4.9%