Rotating an edge deletes the edge and creates a new edge however these edges were being iterated over and had their indices checked. In practice this wasn't causing use-after-free errors because the edges are part of a BLI_mempool, nevertheless using freed elements of a memory-pool should be avoided.