commit-graph: release strbufs after use
[gitweb.git] / builtin / receive-pack.c
index d58b7750b6b46565ca4ebb8299e5260943aa364e..92cd1f508c197986c9db5ab4c63368bab0f7b002 100644 (file)
@@ -2032,7 +2032,7 @@ int cmd_receive_pack(int argc, const char **argv, const char *prefix)
                        proc.git_cmd = 1;
                        proc.argv = argv_gc_auto;
 
-                       close_all_packs(the_repository->objects);
+                       close_object_store(the_repository->objects);
                        if (!start_command(&proc)) {
                                if (use_sideband)
                                        copy_to_sideband(proc.err, -1, NULL);