Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-01-11 23:15:06 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-01-11 23:17:21 +0400
commit80d647adc31e3c8721dc578140494f916463f623 (patch)
tree35f53ad25a93c3644b0d08622944462193cb5ec6 /src/indexer.c
parent3f4437e714874ed10ce20fb32ca2dad3ca6f80ee (diff)
Revert "pack: packfile_free -> git_packfile_free and use it in the indexers"
This reverts commit f289f886cb81bb570bed747053d5ebf8aba6bef7, which makes the tests fail on Windows. Revert until we can figure out a solution.
Diffstat (limited to 'src/indexer.c')
-rw-r--r--src/indexer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexer.c b/src/indexer.c
index 603c20656..c1d599062 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -747,7 +747,7 @@ void git_indexer_stream_free(git_indexer_stream *idx)
git_vector_foreach(&idx->deltas, i, delta)
git__free(delta);
git_vector_free(&idx->deltas);
- git_packfile_free(idx->pack);
+ git__free(idx->pack);
git__free(idx);
}
@@ -1059,7 +1059,7 @@ void git_indexer_free(git_indexer *idx)
git_vector_foreach(&idx->pack->cache, i, pe)
git__free(pe);
git_vector_free(&idx->pack->cache);
- git_packfile_free(idx->pack);
+ git__free(idx->pack);
git__free(idx);
}