ENTER/LEAVE, SAVETMPS/FREETMPS action.