let dlist support memory management.