@TEAM BUGS It depends on the bend of the leg itself.
If the bend is at a strange or extreme angle it can lead to a molting problem, and in some cases the mantid will amputate the leg in order to get itself free from the shed exuviae. If however it is just a slight bend then the mantid will straighten the leg during the next molt.