Fix memory leak

This patch fixes a memory leak in the expression
assignments operator with move semantics.