Commit cd0fe1ac273c14097636847a2ecb4260d185ae28

Carlos Martín Nieto 2011-07-12T20:46:07

Free sig in reflog test Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tests/t10-refs.c b/tests/t10-refs.c
index aab21de..f151b5a 100644
--- a/tests/t10-refs.c
+++ b/tests/t10-refs.c
@@ -1064,6 +1064,7 @@ BEGIN_TEST(reflog0, "write a reflog for a given reference and ensure it can be r
 	must_be_true(strcmp(current_master_tip, entry->oid_cur) == 0);
 	must_be_true(strcmp(commit_msg, entry->msg) == 0);
 
+	git_signature_free(committer);
 	git_reflog_free(reflog);
 	close_temp_repo(repo2);
 END_TEST