I bought a used Gen4 Glock 19. It is in great shape but not being real familiar with Glock's I failed to notice the trigger housing pin was missing from the gun.

Are these known to work free and fall out on their own?

Where can I buy Glock parts like this locally?

Had I not noticed this before firing it, what damage could have occurred?