DIY Tip of the Day: Eliminate Meal Moths. Meal moths get into dry food like flour, beans, dried fruit and dog food. To kill them, put the food in the freezer for at least four days or heat it in a 130-degree oven for 30 minutes. Meal moths don’t carry disease, so after picking the dead bodies and larvae out of the food, you can eat it. Store your food in glass or sturdy plastic containers with sealed lids.