Giving Food to Non-Jew

If one accidentally bought food at a restaurant that he learned wasn’t kosher can he give the food to a goy?

Yes. Only a goi you know.

Rabbi Shay Tahan