Fix typos.
Use freelistEND instead of NULL as the special value.