I think he meant the barrel looked bent, at least it does to me. May be camera angle.
The pin. If it came out easily by itself, removing it, laying it on a flat hard surface, and giving it a tap or two with a cold chisel will burr it a little and help keep it from coming out again. Burring it in a spot where its in the barrel instead of where it holds the cylinder lock may be best.