visitor: do not leak edges