Fix leaks in move assignment operators.