mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
memory leak
This commit is contained in:
parent
b2d2eb4caa
commit
7ea2d051c1
1 changed files with 3 additions and 0 deletions
|
|
@ -6243,8 +6243,11 @@ void linphone_core_set_zrtp_secrets_file(LinphoneCore *lc, const char* file){
|
|||
if (rename(file, bkpFile)==0 && rename(tmpFile, file)==0) {
|
||||
lp_config_set_int(lc->config, "sip", "zrtp_cache_migration_done", TRUE);
|
||||
}
|
||||
bctbx_free(bkpFile);
|
||||
}
|
||||
xmlFree(cacheXml);
|
||||
}
|
||||
bctbx_free(tmpFile);
|
||||
} else {
|
||||
linphone_core_zrtp_cache_db_init(lc, file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue