Best bet on that question is to check with the food pantry directly. They probably have policies on donated "home grown" produce, meat, & eggs. If they accept it and distribute it, it's probably their responsibility.
Not a lawyer but dealt with quite a few food pantries during my social...