Multiple magnetic reconnection sites associated with a coronal mass ejection in the solar wind