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.
Literally moments before it the ref lets an equally bad challenge go without even contemplating giving a foul so I think the county players incensed by that and as someone else said think Barry just trying to trip him and gets it a little bit wrong. Total overreaction from the opposition players but the ref falls for it.