mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 14:31:42 +00:00
Merge pull request #1581 from nulltoken/fix/leaks
Fix some memory leaks
This commit is contained in:
commit
103a2c7727
@ -443,4 +443,6 @@ void test_diff_rename__patch(void)
|
|||||||
cl_assert_equal_i(GIT_DELTA_MODIFIED, (int)delta->status);
|
cl_assert_equal_i(GIT_DELTA_MODIFIED, (int)delta->status);
|
||||||
|
|
||||||
git_diff_list_free(diff);
|
git_diff_list_free(diff);
|
||||||
|
git_tree_free(old_tree);
|
||||||
|
git_tree_free(new_tree);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user