dealloc_attributes
dealloc_attributes(new_attrs, num_src_attrs);
void dealloc_attributes(generic_attr_t *attributes, size_t num_attributes);
dealloc_attributes(object->attributes, object->num_attributes);