It's possible there was some collateral damage to the ram, but the only way to find out is to test it.
I would download memtest 86, put the old laptops ram in the new machine and then run it to make sure there are no issues.
that being said, I've salvaged a lot of ram without issues. If overheating was really the the problem with the original laptop, I can't see there being an issue with the ram.