>> * sb/object-store-replace (2018-05-10) 2 commits >> (merged to 'next' on 2018-05-16 at 41bbedcc81) >> + replace-object.c: remove the_repository from prepare_replace_object >> + object.c: free replace map in raw_object_store_clear >> >> Hotfix. >> >> Will merge to 'master'. > >Please do not. Here comes a reroll with another fix, diff below, as the branch-diff did not give a good output[1]. Thanks, Stefan $ git diff origin/sb/object-store-replace diff --git c/object.c w/object.c index cdf520084df..97245fdea25 100644 --- c/object.c +++ w/object.c @@ -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); [1] $ ./git-branch-diff origin/sb/object-store-replace^^..origin/sb/object-store-replace sb/object-store-replace^^..sb/object-store-replace 1: d5873072054 < -: ----------- object.c: free replace map in raw_object_store_clear -: ----------- > 1: 88d456c5d24 object.c: free replace map in raw_object_store_clear 2: 74fd0705bb3 = 2: 6da07fe2f9c replace-object.c: remove the_repository from prepare_replace_object Stefan Beller (2): object.c: free replace map in raw_object_store_clear replace-object.c: remove the_repository from prepare_replace_object object.c | 3 +++ replace_object.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) -- 2.17.0.582.gccdcbd54c44.dirty