diff options
author | Ben Straub <bs@github.com> | 2013-01-03 19:47:51 +0400 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-01-03 19:47:51 +0400 |
commit | 6fef1ab344326bbdeb45fd653e3c13c233600a35 (patch) | |
tree | d9f7815aa40bd563625d4a8a2d03d8cff238dd9c /tests-clar/odb | |
parent | 7761ce21625564b6526b89326c14a9843a1403d4 (diff) |
Tests should clean up after themselves
Diffstat (limited to 'tests-clar/odb')
-rw-r--r-- | tests-clar/odb/alternates.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests-clar/odb/alternates.c b/tests-clar/odb/alternates.c index 785d3bc84..c4b364b16 100644 --- a/tests-clar/odb/alternates.c +++ b/tests-clar/odb/alternates.c @@ -11,8 +11,13 @@ static git_repository *repo; void test_odb_alternates__cleanup(void) { + size_t i; + git_buf_free(&destpath); git_buf_free(&filepath); + + for (i=0; i<ARRAY_SIZE(paths); i++) + cl_fixture_cleanup(paths[i]); } static void init_linked_repo(const char *path, const char *alternate) |