The Giants led 4-1 going into the ninth inning before allowing five runs to the Padres in a crucial loss Tuesday night at AT&T Park.