summaryrefslogtreecommitdiffstats
path: root/src/rccxml.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2022-08-14 01:37:45 +0400
committerSuren A. Chilingaryan <csa@suren.me>2022-08-14 01:37:45 +0400
commitc3d3fe77815578949bd82e54ad6c2ce31bbd88e3 (patch)
tree1ef9399d28e0309fe8d30c0fe40e02aff06ec657 /src/rccxml.c
parent2791d41bb3fef7f07fb9d49088db64e80e7dd8f8 (diff)
downloadlibrcc-c3d3fe77815578949bd82e54ad6c2ce31bbd88e3.tar.gz
librcc-c3d3fe77815578949bd82e54ad6c2ce31bbd88e3.tar.bz2
librcc-c3d3fe77815578949bd82e54ad6c2ce31bbd88e3.tar.xz
librcc-c3d3fe77815578949bd82e54ad6c2ce31bbd88e3.zip
Fix LibXML2 initalization/cleanup as requested by LibXML2 developers in github issue (fixes #1155330295)
Diffstat (limited to 'src/rccxml.c')
-rw-r--r--src/rccxml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rccxml.c b/src/rccxml.c
index a864b36..82c3cd3 100644
--- a/src/rccxml.c
+++ b/src/rccxml.c
@@ -89,7 +89,6 @@ int rccXmlInit(int LoadConfiguration) {
rcc_engine *engine;
xmlInitParser();
- xmlInitCharEncodingHandlers();
xmlKeepBlanksDefault(0);
if (LoadConfiguration) {
@@ -243,7 +242,6 @@ void rccXmlFree() {
xmlctx = NULL;
}
- xmlCleanupCharEncodingHandlers();
xmlCleanupParser();
}