Is it dangerous to refrigerate warm food in sealed tupperware?

The only reason I ask is I did this and the very next day it smelled slightly sour. Should I leave cover off until it is cooled? (I am new to tupperware.)
6 answers 6