X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Frepository.c;h=57c6f2889dd5fd5cc8dd9c7a072da904ec71e137;hb=f8f253aa29e3c2561d325cb47cc17a727f76266e;hp=9d383fa6347f1297592ef48f0ffec6c7dff2c919;hpb=28297bd9b57fa7d8c3600d040cc08e5e73a62c27;p=gedcom-parse.git diff --git a/gom/repository.c b/gom/repository.c index 9d383fa..57c6f28 100644 --- a/gom/repository.c +++ b/gom/repository.c @@ -58,6 +58,17 @@ void repository_subscribe() gedcom_subscribe_to_element(ELT_REPO_NAME, repo_name_start, def_elt_end); } +void UNREFALLFUNC(repository)(struct repository *obj) +{ + if (obj) { + UNREFALLFUNC(address)(obj->address); + UNREFALLFUNC(note_sub)(obj->note); + UNREFALLFUNC(user_ref_number)(obj->ref); + UNREFALLFUNC(change_date)(obj->change_date); + UNREFALLFUNC(user_data)(obj->extra); + } +} + void CLEANFUNC(repository)(struct repository* repo) { if (repo) {