For pressure dependant on temperature, while volume is constant we use
Which means that
This is presuming that the propellant 'gas' was all in the gas phase, which it usually is not. In most cases butane is used, which will stay liquid under some pressure. When heated, it boils, and the real pressure can really get very high, enough to explode the can in a wonderful blaze and lots of metal shards.