Fix freeing nodes and lists