From 1b7536d78e236978e83fbf8acc9f90e2141e13b0 Mon Sep 17 00:00:00 2001 From: Peter Verthez Date: Sun, 9 Feb 2003 09:16:02 +0000 Subject: [PATCH] Use def_elt_end instead of destroying the context directly. --- gom/note_sub.c | 2 +- gom/source_citation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2