The police were flagged down by worried witnesses who spotted a dog locked inside a vehicle overnight in Romsey's Cornmarket.