fd41f46ac6
- When a mode is deleted, the name pointer is also free()'ed. - This leaves other modes with an invalid pointer.