A couple bullet holes are not going to depressurise an airplane came
I’m no aviation expert by any means, but I have always been under impression that a bullet breaching a cabin at altitude would depressurize the cabin, and/or the cockpit.
But if you are into this kind of thing, I would be interested to know more.