The energy density of asymptotically flat gravitational fields can be calculated from a simple expression involving the trace of the torsion tensor. Integration of this energy density over the whole space yields the ADM energy. Such expression can be justified within the framework of the teleparallel equivalent of general relativity, which is an alternative geometrical formulation of Einsteins general relativity. In this paper we apply this energy density to the evaluation of the energy per unit length of a class of conical defects of topological nature, which include disclinations and dislocations (in the terminology of crystallography). Disclinations correspond to cosmic strings, and for a spacetime endowed with only such a defect we obtain precisely the well known expression of energy per unit length. However for a pure spacetime dislocation the total gravitational energy is zero.