From: Stefan Beller Date: Wed, 9 May 2018 23:40:58 +0000 (-0700) Subject: object.c: free replace map in raw_object_store_clear X-Git-Tag: v2.18.0-rc0~71^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d5873072054f1c3ae198a9563839e9c7f5660fe1 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 Signed-off-by: Junio C Hamano --- diff --git a/object.c b/object.c index 66cffaf6e5..cdf520084d 100644 --- a/object.c +++ b/object.c @@ -480,6 +480,7 @@ void raw_object_store_clear(struct raw_object_store *o) { FREE_AND_NULL(o->objectdir); FREE_AND_NULL(o->alternate_db); + FREE_AND_NULL(o->replace_map); free_alt_odbs(o); o->alt_odb_tail = NULL;