A mistake-filled night by the Marlins ended in dramatic walk-off fashion on Wednesday, when Justin Bour belted a three-run homer in the ninth inning that lifted Miami to a 6-5 victory over the Giants at Marlins Park.