node_cmp_attr_Free() updated to use the new free attribute