engine_redistribute freeing bad gparts pointer.
After merge !124 (merged) we are now crashing in engine_redistribute.c:444.
I suspect that the gravity I/O changes in !121 (merged) have broken this (sorry the merge was clean so I didn't retest with a merge from master).