Commit d97d9559 by Edward Thomson Committed by Edward Thomson

buf test: cleanup memory leak

parent 16942c6f
......@@ -33,6 +33,8 @@ void test_buf_basic__resize_incremental(void)
cl_git_pass(git_buf_grow_by(&buf1, 16));
cl_assert_equal_i(5, buf1.size);
cl_assert(buf1.asize > 8);
git_buf_free(&buf1);
}
void test_buf_basic__printf(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