Free memory in lemon