Baby food

Need advice,

My mother was watching my son he’s 9.5 months old she fed him a half used baby food pouch that has been in the fridge for weeks, my dumb self forgot to throw it out and forgot about it so I didn’t even think to mention it to her. He ate it fine and she said it smelt/tasted fine to her so I’m not sure if he’ll be ok or not. He wasn’t eating directly from the pouch and it went into the fridge right after but since it has been open in the fridge for so long I’m worried he’ll get sick