Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
5e077c08
Commit
5e077c08
authored
May 17, 2017
by
Ghislain MARY
Browse files
Fix memory leak.
parent
70163d16
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/nat_policy.c
View file @
5e077c08
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment