Commit de0555a3 by Russell Belfer

Fix memory leaks in diff rename tests

This fixes a couple objects I forgot to free, and also updates
the valgrind suppressions file on the Mac to cover a few more
cases that had crept in.
parent f3b5bc83
......@@ -947,6 +947,7 @@ void test_diff_rename__case_changes_are_split(void)
git_diff_list_free(diff);
git_index_free(index);
git_tree_free(tree);
}
void test_diff_rename__unmodified_can_be_renamed(void)
......@@ -993,4 +994,6 @@ void test_diff_rename__unmodified_can_be_renamed(void)
cl_assert_equal_i(1, exp.file_status[GIT_DELTA_RENAMED]);
git_diff_list_free(diff);
git_index_free(index);
git_tree_free(tree);
}
......@@ -113,24 +113,18 @@
{
mac-ssl-leak-1
Memcheck:Leak
fun:malloc
fun:CRYPTO_malloc
...
fun:ERR_load_strings
}
{
mac-ssl-leak-2
Memcheck:Leak
fun:malloc
fun:CRYPTO_malloc
...
fun:SSL_library_init
}
{
mac-ssl-leak-3
Memcheck:Leak
fun:malloc
fun:strdup
...
fun:si_module_with_name
fun:getaddrinfo
......@@ -144,6 +138,14 @@
fun:ssl3_get_server_certificate
}
{
mac-ssl-leak-5
Memcheck:Leak
fun:malloc
fun:CRYPTO_malloc
...
fun:ERR_put_error
}
{
clar-printf-buf
Memcheck:Leak
fun:malloc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment