Use def_elt_end instead of destroying the context directly.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Feb 2003 09:16:02 +0000 (09:16 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 9 Feb 2003 09:16:02 +0000 (09:16 +0000)
gom/note_sub.c
gom/source_citation.c

index 8104aaeb8d19dcb09f1bbc0a6ad36d92576c08e3..7facc415060bb3786be424a282952525be452b3b 100644 (file)
@@ -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);
     }
   }
 }
index 3738636fc086c90e207d17209ac0c118e39df7e7..45dc8428a28ecfeeea8255fafe31de26247d06ff 100644 (file)
@@ -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);
   }
 }