mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
fix double unref in ICE tester
This commit is contained in:
parent
95abefb81a
commit
1d103c7379
1 changed files with 2 additions and 0 deletions
|
|
@ -842,6 +842,7 @@ bool_t check_ice(LinphoneCoreManager* caller, LinphoneCoreManager* callee, Linph
|
|||
linphone_core_iterate(callee->lc);
|
||||
linphone_call_stats_unref(stats1);
|
||||
linphone_call_stats_unref(stats2);
|
||||
stats1 = stats2 = NULL;
|
||||
}
|
||||
ms_usleep(20000);
|
||||
} while (!liblinphone_tester_clock_elapsed(&ts,10000));
|
||||
|
|
@ -870,6 +871,7 @@ bool_t check_ice(LinphoneCoreManager* caller, LinphoneCoreManager* callee, Linph
|
|||
linphone_core_iterate(callee->lc);
|
||||
linphone_call_stats_unref(stats1);
|
||||
linphone_call_stats_unref(stats2);
|
||||
stats1 = stats2 = NULL;
|
||||
}
|
||||
ms_usleep(20000);
|
||||
} while (!liblinphone_tester_clock_elapsed(&ts,10000));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue