1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

made the predefined entities static predefined structures to avoid the

* entities.c legacy.c parser.c: made the predefined entities
  static predefined structures to avoid the work, memory and
  hazards associated to initialization/cleanup.
Daniel
This commit is contained in:
Daniel Veillard
2003-09-30 13:38:04 +00:00
parent 73b013fc17
commit d3a2e4c2b3
4 changed files with 86 additions and 70 deletions

View File

@ -12022,7 +12022,6 @@ xmlInitParser(void) {
xmlInitThreads();
xmlInitMemory();
xmlInitCharEncodingHandlers();
xmlInitializePredefinedEntities();
xmlDefaultSAXHandlerInit();
xmlRegisterDefaultInputCallbacks();
#ifdef LIBXML_OUTPUT_ENABLED
@ -12055,7 +12054,6 @@ xmlCleanupParser(void) {
return;
xmlCleanupCharEncodingHandlers();
xmlCleanupPredefinedEntities();
#ifdef LIBXML_CATALOG_ENABLED
xmlCatalogCleanup();
#endif