Function resetParentPointersInMemoryPool