Accidental shooting leads to arrest