Fixed freeExpression calls, should be msFreeExpression().