diff options
author | Stefan Beller <sbeller@google.com> | 2018-05-17 21:29:57 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-18 01:53:33 +0300 |
commit | 7a1dc605af0d76b6de5832f1a2c1587e693de6df (patch) | |
tree | 266a6f33a8a764c5d1a56864b686f7be8c1965fb | |
parent | 74fd0705bb3f99f6b74d6d23d1a1b2b0a926d412 (diff) |
object.c: clear replace map before freeing it
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | object.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -480,6 +480,8 @@ void raw_object_store_clear(struct raw_object_store *o) { FREE_AND_NULL(o->objectdir); FREE_AND_NULL(o->alternate_db); + + oidmap_free(o->replace_map, 1); FREE_AND_NULL(o->replace_map); free_alt_odbs(o); |