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/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/pack.c')
| -rw-r--r-- | src/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index cc9d07983..608450825 100644 --- a/src/pack.c +++ b/src/pack.c @@ -794,7 +794,7 @@ static struct git_pack_file *packfile_alloc(size_t extra) } -void packfile_free(struct git_pack_file *p) +void git_packfile_free(struct git_pack_file *p) { assert(p); |
