Divorcing one wife by saying her name but the another wife's name came to mind
Q: If a person has 2 wives and he, intending to divorce one says her name then explicit words of divorce like "Maryam I....(explicit words)" but at the time of sayings the words he has his other wife who he didn't want to divorce come to his mind.
Does it mean he accidentally gave divorce to the other wife (named Zainab) which he didn't intend to?