summaryrefslogtreecommitdiff
path: root/debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2015-09-21 22:55:14 +0800
committerAron Xu <aron@debian.org>2015-09-21 22:55:14 +0800
commitd5d6ab20a82566c3b9e20a626df186fe4e670c70 (patch)
tree1e38fd2ee69a0e0e33a0ed8d6a7bb89aa084fd51 /debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch
parentd548c999ade382febb424b26743b3c4d63159ae0 (diff)
downloadlibxml2-d5d6ab20a82566c3b9e20a626df186fe4e670c70.tar.gz
Revert "Revert "Remove no-longer-needed upstream patches""
This reverts commit 3b14c3fd6410716d407178e48972b1c1bea48c29.
Diffstat (limited to 'debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch')
-rw-r--r--debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch b/debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch
deleted file mode 100644
index 03bf447..0000000
--- a/debian/patches/0003-Fix-an-error-in-xmlCleanupParser.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From: Alexander Pastukhov <pastuchov@yandex.ru>
-Date: Tue, 23 Apr 2013 05:02:11 +0000
-Subject: Fix an error in xmlCleanupParser
-
-https://bugzilla.gnome.org/show_bug.cgi?id=698582
-
-xmlCleanupParser calls xmlCleanupGlobals() and then
-xmlResetLastError() but the later reallocate the global
-data freed by previous call. Just swap the two calls.
----
- parser.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/parser.c b/parser.c
-index ee429f3..b9df6d8 100644
---- a/parser.c
-+++ b/parser.c
-@@ -14763,8 +14763,8 @@ xmlCleanupParser(void) {
- xmlSchemaCleanupTypes();
- xmlRelaxNGCleanupTypes();
- #endif
-- xmlCleanupGlobals();
- xmlResetLastError();
-+ xmlCleanupGlobals();
- xmlCleanupThreads(); /* must be last if called not from the main thread */
- xmlCleanupMemory();
- xmlParserInitialized = 0;