Replace two release calls with std::move. I missed this on the previous commit.