Did I do the right thing?

So I was driving home from picking my son up from daycare today, and I saw a toddler on the rode (probably about 2) no shoes, just a pair of shorts on. He looked really confused, and he looked like he was about to cross the street. I was freaking out, I had my 2 year old in the car and I knew if he got out of the house I would want someone to do something. I turned on the next street and by the time I got to him he was STILL there. I decided to call the police. I had my 2 year old in the car and I was parked right next to the rode as well so I didn’t have time to look for his parents, so as I was on the phone with the cops the neighbor comes out and tells me this little boy is outside all the time without shoes and always stands right next to the highway. She said she is always watching him to make sure he doesn’t get hit. Do you guys think it was wrong of me to call the cops? There were probably 6 other kids living there if they are good parents I don’t want to break apart a home but at the same time I feel like I did the right thing. The look on the boys face was so sad. He looked terrified.