Merge pull request #1581 from nulltoken/fix/leaks Fix some memory leaks
diff --git a/tests-clar/diff/rename.c b/tests-clar/diff/rename.c
index 8134cb6..1349d40 100644
--- a/tests-clar/diff/rename.c
+++ b/tests-clar/diff/rename.c
@@ -443,4 +443,6 @@ void test_diff_rename__patch(void)
cl_assert_equal_i(GIT_DELTA_MODIFIED, (int)delta->status);
git_diff_list_free(diff);
+ git_tree_free(old_tree);
+ git_tree_free(new_tree);
}