diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-09-03 23:59:25 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-09-03 23:59:25 +0200 |
commit | fcb901a77a0a3eaf21f0126466ae84fdc18fce2c (patch) | |
tree | ee4518e0949821d5d74c5e203fe6aaebd24e52da /src/xml.c | |
parent | 2784c43403c278a542a9f930a4da07a4a2ca284c (diff) | |
download | emacs-fcb901a77a0a3eaf21f0126466ae84fdc18fce2c.tar.gz |
Fix up xmlCleanupParser sequence.
* xml.c (parse_region): Don't call xmlCleanupParser after parsing,
since this reportedly can destroy thread storage.
* emacs.c (shut_down_emacs): Call xmlCleanupParser on shutdown.
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/xml.c b/src/xml.c index 55352baae3a..8b485e73649 100644 --- a/src/xml.c +++ b/src/xml.c @@ -141,7 +141,6 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html Fcons (Qnil, Fnreverse (Fcons (r, result)))); xmlFreeDoc (doc); - xmlCleanupParser (); } return result; |