Commit 7fec72c
committed
Fix GH-21600: Remove xsltCleanupGlobals call in ext/xsl MSHUTDOWN.
The call to xsltCleanupGlobals() during module shutdown can cause
a segfault in xmlHashFree() when freeing libxslt internal hash
tables. This is the same class of shutdown cleanup issue that led
to xmlCleanupParser() being removed from ext/libxml. The process
is about to exit and the OS will reclaim all memory, making the
explicit cleanup both unnecessary and harmful.1 parent 9f33bff commit 7fec72c
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | 326 | | |
328 | 327 | | |
329 | 328 | | |
| |||
0 commit comments