fix crash when the liblinphone_tester is executed several time in the same process

This commit is contained in:
Simon Morlat 2015-10-30 18:02:38 +01:00
parent 5948c2e973
commit 933a75d873
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 304b07fbe4fb681cf32d32cb124076d00ffde335
Subproject commit 95cbe2f55a5802d3260a44b8ec28443a2e2e7940

View file

@ -533,6 +533,7 @@ void liblinphone_tester_uninit(void) {
if (all_leaks_buffer) {
bc_tester_printf(bc_printf_verbosity_info, all_leaks_buffer);
ms_free(all_leaks_buffer);
all_leaks_buffer = NULL;
}
bc_tester_uninit();
}