Fix an s_client memory leak