* xmlCleanupMemoryInternal: * * Free up all the memory allocated by the library for its own * use. This should not be called by user level code. */
| 433 | * use. This should not be called by user level code. |
| 434 | */ |
| 435 | void |
| 436 | xmlCleanupMemoryInternal(void) { |
| 437 | /* |
| 438 | * Don't clean up mutex on Windows. Global state destructors can call |
| 439 | * malloc functions after xmlCleanupParser was called. If memory |
| 440 | * debugging is enabled, xmlMemMutex can be used after cleanup. |
| 441 | * |
| 442 | * See python/tests/thread2.py |
| 443 | */ |
| 444 | #if !defined(LIBXML_THREAD_ENABLED) || !defined(_WIN32) |
| 445 | xmlCleanupMutex(&xmlMemMutex); |
| 446 | #endif |
| 447 | } |
| 448 | |
| 449 | /** |
| 450 | * xmlMemSetup: |
no test coverage detected