Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Plug an index leak

The test wasn't updated when repos lost ownership of indices

Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
  • Loading branch information...
commit 3d5a02b653cfa07ffda7e136a94130e14935ee6f 1 parent 038d2fc
@carlosmn carlosmn authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/t06-index.c
View
1  tests/t06-index.c
@@ -208,6 +208,7 @@ BEGIN_TEST(add0, "add a new file to the index")
/* And the built-in hashing mechanism worked as expected */
must_be_true(git_oid_cmp(&id1, &entry->oid) == 0);
+ git_index_free(index);
git_repository_free(repo);
rmdir_recurs(TEMP_REPO_FOLDER);
END_TEST
Please sign in to comment.
Something went wrong with that request. Please try again.