We only updated the end pointer when allocating new memory, i.e. on the first call to rename_process.
mentioned in commit 40f27404