fixed memory leak in rvalue assignment