South Africa gained revenge for last weekend's surprise defeat to Argentina in Durban with a 26-12 victory over the Pumas in Buenos Aires.