Forget to free edeint node in two places, and some cosmetic changes