Free the offsets array at the end of the particle sorting routines.
Compare changes
+ 9
− 3
@@ -1420,7 +1420,9 @@ void space_parts_sort(struct part *parts, struct xpart *xparts, int *ind,
@@ -1475,7 +1477,9 @@ void space_sparts_sort(struct spart *sparts, int *ind, int *counts,
@@ -1537,7 +1541,9 @@ void space_gparts_sort(struct gpart *gparts, struct part *parts,