summaryrefslogtreecommitdiff
path: root/tests/reset/mixed.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-04 00:29:37 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-04 00:29:37 +0100
commitfe21d708b02c1b35c0ea717889ea633fe78eabaf (patch)
tree9749f518a2d4e80c7b44bb238260c45a6b48d65b /tests/reset/mixed.c
parent9ce97782b412edb55b4bf8cb63e863d49745e09d (diff)
downloadlibgit2-fe21d708b02c1b35c0ea717889ea633fe78eabaf.tar.gz
Plug a few leaks
Diffstat (limited to 'tests/reset/mixed.c')
-rw-r--r--tests/reset/mixed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/reset/mixed.c b/tests/reset/mixed.c
index 5b42ebca5..b374902aa 100644
--- a/tests/reset/mixed.c
+++ b/tests/reset/mixed.c
@@ -72,4 +72,6 @@ void test_reset_mixed__reflog_is_correct(void)
cl_git_pass(git_reset(repo, target, GIT_RESET_MIXED, NULL));
reflog_check(repo, "HEAD", 10, NULL, git_buf_cstr(&buf));
reflog_check(repo, "refs/heads/master", 10, NULL, git_buf_cstr(&buf));
+
+ git_buf_free(&buf);
}