diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-01-07 09:37:29 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-07 09:37:29 +0900 |
| commit | f1ec43d4d24d1db78a19966fe4ce2f7b36c08c49 (patch) | |
| tree | b109f6a1b4198e88182ae844c644e4e56f0440f7 /odb.c | |
| parent | f1799202ea040798dbff1e6a6ad51fa2e7c6858c (diff) | |
| parent | 3d099686560b848fefe71b7e8edf70d1674b9c73 (diff) | |
| download | git-f1ec43d4d24d1db78a19966fe4ce2f7b36c08c49.tar.xz | |
Merge branch 'ps/odb-misc-fixes' into ps/packfile-store-in-odb-source
* ps/odb-misc-fixes:
odb: properly close sources before freeing them
builtin/gc: fix condition for whether to write commit graphs
Diffstat (limited to 'odb.c')
| -rw-r--r-- | odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1111,13 +1111,13 @@ void odb_free(struct object_database *o) oidmap_clear(&o->replace_map, 1); pthread_mutex_destroy(&o->replace_mutex); + odb_close(o); odb_free_sources(o); for (size_t i = 0; i < o->cached_object_nr; i++) free((char *) o->cached_objects[i].value.buf); free(o->cached_objects); - odb_close(o); packfile_store_free(o->packfiles); string_list_clear(&o->submodule_source_paths, 0); |
