mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
Memory leak fixes.
This commit is contained in:
parent
a988e996ca
commit
fef54c658d
2 changed files with 3 additions and 2 deletions
|
|
@ -41,6 +41,7 @@ static void linphone_nat_policy_destroy(LinphoneNatPolicy *policy) {
|
|||
if (policy->stun_addrinfo) bctbx_freeaddrinfo(policy->stun_addrinfo);
|
||||
if (policy->stun_resolver_context) {
|
||||
sal_resolve_cancel(policy->stun_resolver_context);
|
||||
sal_resolver_context_unref(policy->stun_resolver_context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -798,8 +798,8 @@ test_t vcard_tests[] = {
|
|||
TEST_NO_TAG("vCard creation for existing friends", linphone_vcard_update_existing_friends_test),
|
||||
TEST_NO_TAG("vCard phone numbers and SIP addresses", linphone_vcard_phone_numbers_and_sip_addresses),
|
||||
#ifdef SQLITE_STORAGE_ENABLED
|
||||
TEST_ONE_TAG("Friends working if no db set", friends_if_no_db_set, "LeaksMemory"),
|
||||
TEST_ONE_TAG("Friends storage migration from rc to db", friends_migration, "LeaksMemory"),
|
||||
TEST_NO_TAG("Friends working if no db set", friends_if_no_db_set),
|
||||
TEST_NO_TAG("Friends storage migration from rc to db", friends_migration),
|
||||
TEST_NO_TAG("Friends storage in sqlite database", friends_sqlite_storage),
|
||||
#endif
|
||||
TEST_NO_TAG("CardDAV clean", carddav_clean), // This is to ensure the content of the test addressbook is in the correct state for the following tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue