I have a fairly close relative that had an infection due to compound fracture.
His wife had to make the choice for him to amputate the leg, as he was in a coma. I think it was the best choice for the extent of his injuries and has allowed him to have a pretty decent life, although not without daily difficulties.