Former President Bill Clinton has been released from a California hospital after being treated for an infection that spread to his bloodstream.