commit | 364789a6dc0e74d3f4852a99ceb745139698ebe6 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Oct 16 12:45:00 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Oct 16 12:45:00 2001 +0000 |
tree | ed1a7dee63221a49d3e7521b01d7420e6d862e09 | |
parent | 8146394d05edb4f9c3eba3d97884d4e50fd6a92a [diff] [blame] |
avoid a problem in catalog cleanup on SMP if catalogs were not * catalog.c: avoid a problem in catalog cleanup on SMP if catalogs were not initialized. Daniel
diff --git a/catalog.c b/catalog.c index fca4022..a66b6f0 100644 --- a/catalog.c +++ b/catalog.c
@@ -2869,6 +2869,9 @@ */ void xmlCatalogCleanup(void) { + if (xmlCatalogInitialized == 0) + return; + xmlRMutexLock(xmlCatalogMutex); if (xmlDebugCatalogs) xmlGenericError(xmlGenericErrorContext,