21-year-old dies after pistol ‘accidentally’ goes off