mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-22 22:20:02 +00:00
buf test: cleanup memory leak
This commit is contained in:
parent
16942c6fda
commit
d97d9559e3
@ -33,6 +33,8 @@ void test_buf_basic__resize_incremental(void)
|
|||||||
cl_git_pass(git_buf_grow_by(&buf1, 16));
|
cl_git_pass(git_buf_grow_by(&buf1, 16));
|
||||||
cl_assert_equal_i(5, buf1.size);
|
cl_assert_equal_i(5, buf1.size);
|
||||||
cl_assert(buf1.asize > 8);
|
cl_assert(buf1.asize > 8);
|
||||||
|
|
||||||
|
git_buf_free(&buf1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_buf_basic__printf(void)
|
void test_buf_basic__printf(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user