article_snippet: All the goals came from goalkeeping blunders in a game which ended with Kadeem Harris and Federico Macheda both seeing red for Cardiff.
article_snippet: Andre Gray gave the home side a first-half lead, but goals from Macheda and Alex Revell turned things round for Cardiff.
article_snippet: Jota also caused havoc down the right flank and Andre Gray twice went close to extending the lead before the break.
article_snippet: Brentford at times striker Andre Gray beats Cardiff goalkeeper Simon Moore (left) to score opening goal .
article_snippet: Macheda drew them level on 53 minutes when Brentford goalkeeper David Button collided with Brentford goalkeeper David Button own centre-back Harlee Dean and dropped the ball into the path of the Italian, who slid home from 12 yards.
article_snippet: And the comeback was complete on 68 minutes when Brentford goalkeeper David Button raced off Brentford goalkeeper David Button line to intercept a hopeful through ball and was caught in no man's land for Revell to chip home into the empty goal.
article_snippet: However, the sheen was taken off the win by two red cards for the Welshmen.
article_snippet: Alex Revell (left) celebrates scoring Cardiff's winner with Macheda .
article_snippet: And former Manchester United striker Macheda followed former Manchester United striker Macheda to the dressing room with minutes remaining for a second yellow card.
article_snippet: Cardiff almost snatched a third deep into stoppage time, but Kenwyne Jones squandered a gilt-edged chance to give the scoreline a flattering feel by blazing over after racing on to a through ball with the home defence committed.