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:
2
parser.c
2
parser.c
@ -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
|
||||
|
Reference in New Issue
Block a user