object.c: free replace map in raw_object_store_clear
The replace map for objects was missed to free in the object store in the conversion of 174774cd519 (Merge branch 'sb/object-store-replace', 2018-05-08) Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
May 9, 2018 at 16:40 UTC
d5873072054f1c3ae198a9563839e9c7f5660fe1
1 file changed
+1
object.c
+1
@@ -480,6 +480,7 @@ void raw_object_store_clear(struct raw_object_store *o)
480
{
481
FREE_AND_NULL(o->objectdir);
482
FREE_AND_NULL(o->alternate_db);
483
+ FREE_AND_NULL(o->replace_map);
484
485
free_alt_odbs(o);
486
o->alt_odb_tail = NULL;