commit | 2c2128387d7b5670f7f4a54cedc45b3b29552630 | [log] [tgz] |
---|---|---|
author | Kai Henning <kai_henning@web.de> | Mon Oct 12 22:30:32 2009 +0200 |
committer | Daniel Veillard <veillard@redhat.com> | Mon Oct 12 22:30:32 2009 +0200 |
tree | 31f7b3c18e3e6efcfd8c0d8fff6e4fe7fb2be52d | |
parent | 1934b0c0fa8dff467955ae51118b69716a75f62b [diff] |
Fix an init bug in global.c * globals.c: fix the initialization of the mutex
diff --git a/globals.c b/globals.c index 1f807d8..69002f0 100644 --- a/globals.c +++ b/globals.c
@@ -46,7 +46,7 @@ */ void xmlInitGlobals(void) { - if (xmlThrDefMutex != NULL) + if (xmlThrDefMutex == NULL) xmlThrDefMutex = xmlNewMutex(); }