mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Use correct function to free addrinfo.
This commit is contained in:
parent
ab4e399a69
commit
b3bf09c8e7
1 changed files with 1 additions and 1 deletions
|
|
@ -537,7 +537,7 @@ void linphone_core_adapt_to_network(LinphoneCore *lc, int ping_time_ms, Linphone
|
|||
|
||||
static void stun_server_resolved(LinphoneCore *lc, const char *name, struct addrinfo *addrinfo){
|
||||
if (lc->net_conf.stun_addrinfo){
|
||||
freeaddrinfo(lc->net_conf.stun_addrinfo);
|
||||
belle_sip_freeaddrinfo(lc->net_conf.stun_addrinfo);
|
||||
lc->net_conf.stun_addrinfo=NULL;
|
||||
}
|
||||
if (addrinfo){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue