Magnetic reheating