From: Peter Verthez Date: Sun, 9 Feb 2003 09:16:02 +0000 (+0000) Subject: Use def_elt_end instead of destroying the context directly. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=1b7536d78e236978e83fbf8acc9f90e2141e13b0;p=gedcom-parse.git Use def_elt_end instead of destroying the context directly. --- diff --git a/gom/note_sub.c b/gom/note_sub.c index 8104aae..7facc41 100644 --- a/gom/note_sub.c +++ b/gom/note_sub.c @@ -126,7 +126,7 @@ void sub_note_end(_ELT_END_PARAMS_) else obj->text = newvalue; } - destroy_gom_ctxt(ctxt); + def_elt_end(elt, parent, self, parsed_value); } } } diff --git a/gom/source_citation.c b/gom/source_citation.c index 3738636..45dc842 100644 --- a/gom/source_citation.c +++ b/gom/source_citation.c @@ -108,7 +108,7 @@ void sub_citation_end(_ELT_END_PARAMS_) cit->description = newvalue; } } - destroy_gom_ctxt(ctxt); + def_elt_end(elt, parent, self, parsed_value); } }