diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-01-11 17:24:52 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-01-11 17:33:00 +0100 |
commit | f289f886cb81bb570bed747053d5ebf8aba6bef7 (patch) | |
tree | 01f8f6bf3c1409e53efeb80420a0b1e1f0471628 /src/odb_pack.c | |
parent | 0ed756200693aed93c4c9fb4f8776196fec5a971 (diff) | |
download | libgit2-f289f886cb81bb570bed747053d5ebf8aba6bef7.tar.gz |
pack: packfile_free -> git_packfile_free and use it in the indexers
It turns out the indexers have been ignoring the pack's free function
and leaking data. Plug that.
Diffstat (limited to 'src/odb_pack.c')
-rw-r--r-- | src/odb_pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb_pack.c b/src/odb_pack.c index 9d0c4c0e7..9779ecd25 100644 --- a/src/odb_pack.c +++ b/src/odb_pack.c @@ -538,7 +538,7 @@ static void pack_backend__free(git_odb_backend *_backend) for (i = 0; i < backend->packs.length; ++i) { struct git_pack_file *p = git_vector_get(&backend->packs, i); - packfile_free(p); + git_packfile_free(p); } git_vector_free(&backend->packs); |