Update package version to 2.15.2
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <[email protected]>
|
||||
Date: Wed, 4 Mar 2026 19:08:16 +0100
|
||||
Subject: [PATCH] catalog: Free xmlCatalogResolveCache on cleanup
|
||||
|
||||
Otherwise the `tstLastError.py` test will complain about a memory leak.
|
||||
|
||||
Fixes: b706c5c5b7ce11d002a5b77ff938aa3693931c12 (Add xmlCatalogResolveCache)
|
||||
Fixes: https://gitlab.gnome.org/GNOME/libxml2/-/issues/1069
|
||||
---
|
||||
catalog.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/catalog.c b/catalog.c
|
||||
index 8a5ca77a6ae1..bfaf099f47a4 100644
|
||||
--- a/catalog.c
|
||||
+++ b/catalog.c
|
||||
@@ -3338,6 +3338,7 @@ xmlCatalogCleanup(void) {
|
||||
if (xmlDebugCatalogs)
|
||||
xmlCatalogPrintDebug(
|
||||
"Catalogs cleanup\n");
|
||||
+ xmlResetCatalogResolveCache();
|
||||
if (xmlCatalogXMLFiles != NULL)
|
||||
xmlHashFree(xmlCatalogXMLFiles, xmlFreeCatalogHashEntryList);
|
||||
xmlCatalogXMLFiles = NULL;
|
||||
Reference in New Issue
Block a user