mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 17:05:49 +00:00
Fix memory leak in test
This commit is contained in:
parent
39b8e047b4
commit
465092ce3f
@ -633,7 +633,7 @@ void test_core_buffer__rfind_variants(void)
|
|||||||
cl_assert(git_buf_rfind(&a, 'q') == -1);
|
cl_assert(git_buf_rfind(&a, 'q') == -1);
|
||||||
cl_assert(git_buf_rfind_next(&a, 'q') == -1);
|
cl_assert(git_buf_rfind_next(&a, 'q') == -1);
|
||||||
|
|
||||||
git_buf_clear(&a);
|
git_buf_free(&a);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_core_buffer__puts_escaped(void)
|
void test_core_buffer__puts_escaped(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user