Giants reliever Mark Melancon's first season in San Francisco will come to an early end.