The title says it all. The links below detail a couple of instances in which a foreign object entered the trigger guard of a Glock, while it was being holstered. There's nothing wrong with Glocks, or weapons with similar safety features. You just need to take a little more care when holstering.
Jacket Drawstring Causes Accidental Discharge
Worn, Floppy Holster Causes Accidental Discharge