/tmp is in memory, not written to flash, so it is destroyed and recreated on each reboot. However, I don't believe there's any scheduled process that clears it out on a running system. Applications are expected to clean up after themselves, I think.