diff options
Diffstat (limited to 'packfile.c')
-rw-r--r-- | packfile.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packfile.c b/packfile.c index f2850a00b5..d1e6683ffe 100644 --- a/packfile.c +++ b/packfile.c @@ -345,6 +345,11 @@ void close_all_packs(struct raw_object_store *o) BUG("want to close pack marked 'do-not-close'"); else close_pack(p); + + if (o->multi_pack_index) { + close_midx(o->multi_pack_index); + o->multi_pack_index = NULL; + } } /* |