Change list_free() to not free if dtor is NULL