The problem is that Rove didn't leak Plame's name.

Novak says that someone else told him that Wilson's wife was a CIA agent, that he (Novak) found additional information from Wilsons own autobiographical entry at Who's Who, and that Rove and another CIA official later confirmed the info.

That's why Rove wasn't indicted.