Glass can be put in the freezer as long as you are careful about thermal shock. Don't rapidly heat the glass or rapidly cool it. Allow the glass to reach room temperature before placing it in the freezer. However, food stored in glass containers is more likely to get freezer burned compared to airtight freezer bags.