1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

dict: Separate RNG code

This commit is contained in:
Nick Wellnhofer
2023-09-16 19:08:10 +02:00
parent 42a0bc6d96
commit 1425d8f67b
3 changed files with 78 additions and 64 deletions

View File

@@ -586,6 +586,7 @@ xmlInitParser(void) {
xmlInitMemoryInternal(); /* Should come second */
xmlInitGlobalsInternal();
xmlInitRandom();
xmlInitDictInternal();
xmlInitEncodingInternal();
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
@@ -650,6 +651,7 @@ xmlCleanupParser(void) {
#endif
xmlCleanupDictInternal();
xmlCleanupRandom();
xmlCleanupGlobalsInternal();
/*
* Must come last. On Windows, xmlCleanupGlobalsInternal can call