Sometimes lexems of previous expression were not freed from mem; fixed