Merge branch 'rs/close-pack-leakfix'

Leakfix.

* rs/close-pack-leakfix:
  packfile: release bad_objects in close_pack()
maint
Junio C Hamano 2021-10-03 21:49:20 -07:00
commit 068966d2e8
1 changed files with 1 additions and 0 deletions

View File

@ -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)