San Francisco managed just three hits, but scratched out a run in the first on a sacrifice fly by Brandon Belt.
The hard-luck loss went to Randall Delgado (4-5), who gave up only three hits in seven innings.
San Francisco, which won 94 games last season prior to winning the World Series for the second time in three years, posted just its 60th victory of the season Friday.
Wisconsin business offering 'therapeutic cuddling' forced to close
Exploding whale video goes viral on Internet