[[ RefactorSyntax ]] Fixed memory leak in MCVariable::setvalueref