It’s poor but I don’t think he was trying to injure the player, probably meant to clip his heals for a yellow.
Can't see it 'cos I'm out of the country, but really find it hard to imagine Barry doing anything remotely worthy of a red card.