X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Frepository.c;h=57c6f2889dd5fd5cc8dd9c7a072da904ec71e137;hb=327069289a45ed1e91d8bfc07d7d89cfbad057d6;hp=9d383fa6347f1297592ef48f0ffec6c7dff2c919;hpb=bda79e2b3e217154edec23079ccad4f1cfcf94af;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) {