Commit 5e077c08 authored by Ghislain MARY's avatar Ghislain MARY

Fix memory leak.

parent 70163d16
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment