Was this wrong of my boss?

So I work in an office and I have a colleague who does nothing and leaves the office early quite often when managers are not around to go home and work on the bus. Its a busy time too. I told my boss she left the office an hour and a half early and disappeared and my boss went to my colleague and told her that I reported her. Now I just got a snarky and sarcastic email from my colleague about reporting her. Was this very wrong of my boss to say my name and tell my colleague that I reported her?

Was this wrong of my boss?
Post Opinion