buf test: cleanup memory leak
diff --git a/tests/buf/basic.c b/tests/buf/basic.c
index dcc0916..14ea3e7 100644
--- a/tests/buf/basic.c
+++ b/tests/buf/basic.c
@@ -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)