BossFrog is right, there's not much you can do for a frog with a broken leg. I would just keep an eye out for concerning behaviors (like not eating) or physical abnormalities on the leg itself, like skin discoloration. Infection would likely be the biggest issue depending on where it broke and if surrounding tissue was damaged, so try to look up the signs of infection and keep your eyes peeled.
It may be a good idea to also look up other reasons a frog may drag its leg if you are not 100% positive it is broken.