avoid assume failure (attr_free -> s_internaldelete)