If she is a beloved pet, then my first suggestion to you is to get her to a vet... the damage is probably extenisive and the leg will need to be properly imobilized and an antibiotic given.
ETA: If you do not have an avian vet in your area, then have a think on giving an avian rehabber a call...