Commit 465092ce by Russell Belfer

Fix memory leak in test

parent 39b8e047
...@@ -633,7 +633,7 @@ void test_core_buffer__rfind_variants(void) ...@@ -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)
......
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