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
49ad4b81
Commit
49ad4b81
authored
Jan 06, 2016
by
Simon Morlat
Browse files
fix crash
parent
849ef0f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
coreapi/friendlist.c
coreapi/friendlist.c
+4
-1
No files found.
coreapi/friendlist.c
View file @
49ad4b81
...
...
@@ -253,7 +253,10 @@ LinphoneFriendList * linphone_friend_list_ref(LinphoneFriendList *list) {
void
_linphone_friend_list_release
(
LinphoneFriendList
*
list
){
/*drops all references to core and unref*/
list
->
lc
=
NULL
;
if
(
list
->
event
!=
NULL
)
linphone_event_unref
(
list
->
event
);
if
(
list
->
event
!=
NULL
)
{
linphone_event_unref
(
list
->
event
);
list
->
event
=
NULL
;
}
list
->
friends
=
ms_list_free_with_data
(
list
->
friends
,
(
void
(
*
)(
void
*
))
_linphone_friend_release
);
belle_sip_object_unref
(
list
);
}
...
...
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