Taz did this before. And honestly I can't remember if I took him to the vet or not. I'm thinking I did and they said he just strained his leg when jumping on/off something. Of course Taz was a bit overweight at that time (21lbs ).
So I would definitely suggest taking him to the vet. It may be nothing (we hope) but it's always best to let the professionals make that conclusion.