Commit Diff


commit - d1cda8264f62723250746b16cb897832a99c537b
commit + 47cbebdb272710e91aa4dc023336d37b0d9e127f
blob - 45451895935d5938eef7e4317784c4e8e90671bd
blob + fe5aa01903748b62a3fc815ef665067cdafca09f
--- regress/repository/repository_test.c
+++ regress/repository/repository_test.c
@@ -72,6 +72,7 @@ repo_read_object_header(const char *repo_path)
 		printf("author: %s\n", commit->author);
 		printf("committer: %s\n", commit->committer);
 		printf("log: %s\n", commit->logmsg);
+		got_object_commit_close(commit);
 	}
 	got_object_close(obj);
 	free(id);