From f83c75dc069b4563fdecf2bc81cfc1dfe58798d1 Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Wed, 13 Feb 2019 10:47:30 +0000
Subject: [PATCH] Free orig_group_size.

---
 src/fof.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/fof.c b/src/fof.c
index 98ae90ffcf..3714be9e65 100644
--- a/src/fof.c
+++ b/src/fof.c
@@ -1399,9 +1399,7 @@ size_t fof_search_foreign_cells(struct space *s, size_t **local_roots) {
   free(global_group_size);
   free(global_group_mass);
   free(global_group_id);
-#ifndef UNION_BY_SIZE_OVER_MPI
   free(orig_global_group_size);
-#endif
 
   message("Rank %d finished linking local roots to foreign roots.",
           engine_rank);
-- 
GitLab