mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-04 04:19:35 +00:00
Prevent random crash in history removal
This commit is contained in:
parent
9740a18219
commit
eb26a33d75
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@
|
|||
if (prev && linphone_address_weak_equal(linphone_call_log_get_remote_address(prev),
|
||||
linphone_call_log_get_remote_address(log))) {
|
||||
bctbx_list_t *list = linphone_call_log_get_user_data(prev);
|
||||
list = bctbx_list_append(list, log);
|
||||
list = bctbx_list_append(list, linphone_call_log_ref(log));
|
||||
linphone_call_log_set_user_data(prev, list);
|
||||
} else {
|
||||
[eventsOnThisDay addObject:[NSValue valueWithPointer:linphone_call_log_ref(log)]];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue