In general landfilling (in modern, properly designed landfills) should be regarded as a kind of carbon sequestration. It's actually pretty hard to be better for the environment than that.