It *could* be nothing, or it could be a joint problem. The only way to know for sure is to see a vet. If the dog has no lameness in the leg, it's probably nothing. But if you're vet says that it's a joint problem, it would be good to see an orthopedic specialist for a second opinion, just to be sure. Here's an article:
Clicking / Popping noises from Dogs joint