I would think it will depend on how old the computer is, and what the actual cause of the overheating/malfunction/damage is.
If it is still under warranty they should. However if the problem is due to outside influence (spilled liquid, addition of other components that lead to the problem, etc.,) then they may charge for it, warranty or not.