Decay of the energy for the Cauchy problem of the wave equation of variable coeffcients with a dissipation is considered.It is shown that whether a dissipation can be localized near infinity depends on the curvature properties of a Riemannian metric given by the variable coeffcients.In particular,some criteria on curvature of the Riemannian manifold for a dissipation to be localized are given.