[PATCH 1/2] object.c: free replace map in raw_object_store_clear
- From
Stefan Beller <sbeller@google.com>
- Date
- May 9, 2018, 23:40 UTC
- Message-ID
- <20180509234059.52156-1-sbeller@google.com>
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> --- object.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/object.c b/object.c index 9d5b10d5a20..ff28f90c5ef 100644 --- a/object.c +++ b/object.c @@ -497,6 +497,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;
-- 2.17.0.255.g8bfb7c0704