summaryrefslogtreecommitdiff
path: root/src/index.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2013-05-02 17:22:13 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2013-05-02 20:43:45 -0500
commitd80416384f67474cd98a8fafe2cc1e4f1f5fa38b (patch)
tree7ddd89bd06190dc029ff7aa1ca739b7d670ec8f5 /src/index.c
parent42b2bcf038b4e45df33a1078dd05a95759addd35 (diff)
downloadlibgit2-d80416384f67474cd98a8fafe2cc1e4f1f5fa38b.tar.gz
fix some leaks
Diffstat (limited to 'src/index.c')
-rw-r--r--src/index.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c
index d4aa475a9..ee659f8ab 100644
--- a/src/index.c
+++ b/src/index.c
@@ -349,6 +349,7 @@ static void index_free(git_index *index)
{
git_index_clear(index);
git_vector_free(&index->entries);
+ git_vector_free(&index->names);
git_vector_free(&index->reuc);
git__free(index->index_file_path);