Employee was attempting to set a drill from vertical drilling to horizontal. The drill mast was laid back toward the power section at about a 45 degree angle. A pin was placed in the hydraulic positioning cylinder to hold the mast in place. The locking pin fell out allowing the mast to swing downward toward the ground. The mast swung down striking the employee in the lower leg.