mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix memory leak.
This commit is contained in:
parent
70163d163a
commit
5e077c08b4
1 changed files with 1 additions and 0 deletions
|
|
@ -291,6 +291,7 @@ LinphoneNatPolicy * linphone_config_create_nat_policy_from_section(const Linphon
|
|||
else if (strcmp(value, "upnp") == 0) upnp_enabled = TRUE;
|
||||
}
|
||||
if (upnp_enabled) linphone_nat_policy_enable_upnp(policy, TRUE);
|
||||
bctbx_list_free_with_data(l, (bctbx_list_free_func)ms_free);
|
||||
}
|
||||
return policy;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue