As others stated, giving away food is lawsuit bait unless you're donating it to a charity (ie a food bank). As per Bill Emerson Good Samaritan Food Donation Act. Donating directly is legally suicidal unless you are a charity. It has to meet the criteria: “food that meets all quality and labeling standards imposed by federal, state, and local laws and regulations even though the food may not be readily marketable due to appearance, age, freshness, grade, size, surplus, or other conditions.”
Some states or cities have their own regs on top. In short, always launder your food donations through a charity.