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
20ad0af6
Commit
20ad0af6
authored
Aug 01, 2018
by
Benjamin REIS
Browse files
fix memory leak
parent
3b370056
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
coreapi/friendlist.c
coreapi/friendlist.c
+1
-0
No files found.
coreapi/friendlist.c
View file @
20ad0af6
...
...
@@ -279,6 +279,7 @@ static void linphone_friend_list_parse_multipart_related_body(LinphoneFriendList
if
(
!
lf
&&
list
->
bodyless_subscription
)
{
lf
=
linphone_core_create_friend_with_address
(
list
->
lc
,
uri
);
linphone_friend_list_add_friend
(
list
,
lf
);
linphone_friend_unref
(
lf
);
}
if
(
lf
)
{
const
char
*
phone_number
=
linphone_friend_sip_uri_to_phone_number
(
lf
,
uri
);
...
...
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