Trim leeks and rinse thoroughly to remove any grit. Chop white and light green parts only and add to onions along with potatoes, garlic, and stock. Bring to a gentle boil. Reduce heat to medium, and with lid ajar, cook until vegetables are soft and tender, about 20 minutes. Remove from heat and set aside just until cool enough to purée.