1
0
Fork 0

[F] Fix memory leak in tests

This commit is contained in:
seleznevae 2019-08-09 20:08:20 +03:00
parent 6f4267cb3a
commit d1c8f59de1
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,7 @@ void test_bug_fixes(void)
" 3 4 \n" " 3 4 \n"
" \n"; " \n";
assert_str_equal(table_str, table_str_etalon); assert_str_equal(table_str, table_str_etalon);
ft_destroy_table(table);
} }
#ifdef FT_HAVE_WCHAR #ifdef FT_HAVE_WCHAR
@ -122,6 +123,7 @@ void test_bug_fixes(void)
L" 3 4 \n" L" 3 4 \n"
L" \n"; L" \n";
assert_wcs_equal(table_str, table_str_etalon); assert_wcs_equal(table_str, table_str_etalon);
ft_destroy_table(table);
} }
#endif #endif
} }