Frustrated after hitting an approach shot into a hazard, Rory McIlroy took out his frustration on his wedge.