X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Findividual.c;h=b9652ef87ca28e557bb3a464059af1ec0b217f94;hb=f8f253aa29e3c2561d325cb47cc17a727f76266e;hp=103ad31216ccb77d7fc4928041fa2d2fc200a36a;hpb=28297bd9b57fa7d8c3600d040cc08e5e73a62c27;p=gedcom-parse.git diff --git a/gom/individual.c b/gom/individual.c index 103ad31..b9652ef 100644 --- a/gom/individual.c +++ b/gom/individual.c @@ -102,6 +102,29 @@ void individual_add_family_link(Gom_ctxt ctxt, int ctxt_type, } } +void UNREFALLFUNC(individual)(struct individual *obj) +{ + if (obj) { + UNREFALLFUNC(personal_name)(obj->name); + UNREFALLFUNC(event)(obj->event); + UNREFALLFUNC(event)(obj->attribute); + UNREFALLFUNC(lds_event)(obj->lds_individual_ordinance); + UNREFALLFUNC(family_link)(obj->child_to_family); + UNREFALLFUNC(family_link)(obj->spouse_to_family); + UNREFALLFUNC(xref_list)(obj->submitters); + UNREFALLFUNC(association)(obj->association); + UNREFALLFUNC(xref_list)(obj->alias); + UNREFALLFUNC(xref_list)(obj->ancestor_interest); + UNREFALLFUNC(xref_list)(obj->descendant_interest); + UNREFALLFUNC(source_citation)(obj->citation); + UNREFALLFUNC(multimedia_link)(obj->mm_link); + UNREFALLFUNC(note_sub)(obj->note); + UNREFALLFUNC(user_ref_number)(obj->ref); + UNREFALLFUNC(change_date)(obj->change_date); + UNREFALLFUNC(user_data)(obj->extra); + } +} + void CLEANFUNC(individual)(struct individual* indiv) { if (indiv) {