The other question that deserves an answer is, what was the make of the handgun, and what caused it to fire? Was it not on “safe.” or was it “on safe” and discharged anyway?
A very good question which I’d like to know the answer to as well (the make).
A weapon that discharges after falling out of a holster, whether safety on or not, is not a safe weapon.