mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
Merge branch 'rs/close-pack-leakfix'
Leakfix. * rs/close-pack-leakfix: packfile: release bad_objects in close_pack()
This commit is contained in:
commit
068966d2e8
@ -339,6 +339,7 @@ void close_pack(struct packed_git *p)
|
||||
close_pack_fd(p);
|
||||
close_pack_index(p);
|
||||
close_pack_revindex(p);
|
||||
oidset_clear(&p->bad_objects);
|
||||
}
|
||||
|
||||
void close_object_store(struct raw_object_store *o)
|
||||
|
Loading…
Reference in New Issue
Block a user