If you're really concerned just freeze stuff in glass pans. But if you want to be able to use the pan again before you cook that freezer meal then you can line the pan with parchment paper, freeze until solid and transfer it to a freezer bag for storage. The freezer bag you can re-use multiple times. Parchement can be reused if it came out clean too.
Also, I don't recommend you store food over a year- it's quality is likely to go down and it's a waste of freezer space (plus the energy to keep it frozen) since you're not using it. Instead try to use meals within 2 or 3 months.