Mesh deforms when parenting to the armature
9 out of 10 times, rigging problems are caused by problems in scaling.
make sure that figure feet are at world center and the armature fits in it.
Before you autorig, apply scale(and other transforms) to the mesh and
apply scale (and transforms) to the bone system