Horrible to see from the humanity perspective, but tough to judge as you don't get to see what state the dog is in - not saying that the guy had mistreated the dog, but if he hadn't looked after it, it's the right thing to do, if the dog was fine, then it's indefensible.