commit-graph: release strbufs after use
[gitweb.git] / builtin / fetch.c
index b620fd54b4e95cad77532ec3fe02e2ff1179c431..3aec95608ffafdc8df65701c3cd3413e56692373 100644 (file)
@@ -1670,7 +1670,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
 
        string_list_clear(&list, 0);
 
-       close_all_packs(the_repository->objects);
+       close_object_store(the_repository->objects);
 
        argv_array_pushl(&argv_gc_auto, "gc", "--auto", NULL);
        if (verbosity < 0)