From the article, it looks like he shot himself through the thigh and the bullet then hit the officer. I don't know if he intended to shoot the officer and messed up or if it was just an bad shoot.
I would have expected him to at least be detained for the parole violation. I bet most jurisdictions would prosecute him for something.