Both guns are as safe as you are, possibly a bit safer.
However, I consider the GLock mechanically safe, ONLY if nothing can pull the trigger. It is extremely unlikely, but not impossible, if something gets in the triggerguard, and pressing in that little trigger activation switch that they call a safety, it could press the trigger enough to fire the gun.
A holster that covers the trigger is an absolute MUST for guns like that.