A Manhattan Supreme Court judge on Monday dismissed a defamation case against former “The View” co-host Rosie O’Donnell by an ex-producer on the ABC show.

The suit was filed back in 2015 by an ex-producer on the show — Jennifer Shepard-Brookman — who claimed O’Donnell was a control freak who wrongly accused her in front of other colleagues of leaking sensitive information about the show to the media, including behind-the-scenes details about a Beverly Johnson interview.

But over two years after the suit was filed, judge Shlomo Hagler tossed the case on grounds including: “The pleadings are inadequate to show that defendant’s statements [were] made with ‘[a] high degree of awareness of their probable falsity.’”

A rep for O’Donnell told us: “Ms. O’Donnell is gratified that the Court, in dismissing Jennifer Brookman’s defamation complaint against her in its entirety, recognized that Ms. Brookman’s claim was without merit.”

Brookman’s attorney Brian Kennedy said when reached for comment: “My client filed this case on principle because she didn’t think Ms. O’Donnell should be able to get away with the kinds of false accusations against her. We respect the court’s opinion … Ms. O’Donnell knows what she said.”