Unless you see an actual injury or know of something that could have hurt your frog, I'd say this looks more like a metabolic disorder or calcium deficiency. I don't think an injured frog would be unable to walk on a leg, but still move it to eat. What have you been feeding it?
Answer the questions in the 'Trouble in the Enclosure' sticky. There is not enough information to tell what is wrong if you don't.