mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Switch the unown parameter to FALSE in the declaration of LinphoneFriendList
That commit doesn't fix anything but it is a better way to have LinphoneFriendList objects created with a refcount to 1 systematically.
This commit is contained in:
parent
9757d69c1b
commit
a14a8f9f21
1 changed files with 1 additions and 2 deletions
|
|
@ -361,7 +361,6 @@ static LinphoneFriendList * linphone_friend_list_new(void) {
|
|||
LinphoneFriendList *list = belle_sip_object_new(LinphoneFriendList);
|
||||
list->cbs = linphone_friend_list_cbs_new();
|
||||
list->enable_subscriptions = TRUE;
|
||||
belle_sip_object_ref(list);
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
@ -387,7 +386,7 @@ BELLE_SIP_INSTANCIATE_VPTR(LinphoneFriendList, belle_sip_object_t,
|
|||
(belle_sip_object_destroy_t)linphone_friend_list_destroy,
|
||||
NULL, // clone
|
||||
NULL, // marshal
|
||||
TRUE
|
||||
FALSE
|
||||
);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue