Potential space leak in transpose