In hopes of eluding the Nazgul, the hobbits travel through the Old Forest. There the group fall asleep by a willow-tree and wake up to realize that its roots are trying to strangle them, but luckily Tom Bombadil comes to their aid. They then go to the house of Bombadil and meet his wife Goldberry. There they discover that the Ring has no power over Bombadil -- he does not disappear while wearing it and can see Frodo even after he has vanished from his friends' sight. In the evening, Frodo has a dream about Gandalf standing on the pinnacle of a tower and then a vision of a rain curtain in front of a ship on which he is sailing. They then leave Bombadil's only to be captured by a barrow wight in the Barrow-downs, but they again escape with help from Tom and finally reach the gate of the village of Bree.

Answer this question based on the passage: who helps frodo and his friends escape from the barrow-wight? Let's have some stream of consciousness first.
To answer the above question, the relevant sentence is: They then leave Bombadil's only to be captured by a barrow wight in the Barrow-downs, but they again escape with help from Tom and finally reach the gate of the village of Bree. So, the answer is Tom Bombadil.