My beagle does this with every sidewalk spot where he’s ever found a half-eaten chicken wing in his life - just in case.
Unclear if cooked vs raw matters, I'd expect cooked would be the problem, as animals in the wild don't get that.
The only thing working in his favor is that beagles tend to have an iron gut. A bag of chocolate bars might drop another dog…but probably not a beagle.