Employee was lowering hydraulic cylinder to deck of dredge using cable tension & hinged bottom of cylinder. EE planned to install a grease line extension so the cylinder wouldn't need to be lowered again. As the cylinder descended, EE realized the cable was not tensioned as the cylinder came down quickly. EE moved to side as the cylinder struck their right leg.