diff options
Diffstat (limited to 'split-index.c')
-rw-r--r-- | split-index.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/split-index.c b/split-index.c index f519e60f87..83e39ec8d7 100644 --- a/split-index.c +++ b/split-index.c @@ -167,10 +167,9 @@ void merge_base_index(struct index_state *istate) ewah_free(si->delete_bitmap); ewah_free(si->replace_bitmap); - free(si->saved_cache); + FREE_AND_NULL(si->saved_cache); si->delete_bitmap = NULL; si->replace_bitmap = NULL; - si->saved_cache = NULL; si->saved_cache_nr = 0; } |