When leaning an extension ladder against a wall you can put socks on the top first to avoid scuffing the wall (not pictured here, unfortunately, but it works!)
Just make sure the ladder still evenly and securely rests on the wall, better to mar wall than have an unsteady climb.
For more about ladder safety and usage click here.
Happy home improvements!
Cass The Fix It Lass