mirror of
https://github.com/GNOME/libxml2.git
synced 2025-03-19 18:50:25 +08:00
fixes some problem when freeing unititialized mutexes Daniel
* globals.c threads.c: fixes some problem when freeing unititialized mutexes Daniel
This commit is contained in:
parent
2db8c125be
commit
df101d832d
@ -1,3 +1,8 @@
|
||||
Tue Jul 8 16:02:19 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* globals.c threads.c: fixes some problem when freeing unititialized
|
||||
mutexes
|
||||
|
||||
Tue Jul 8 14:15:07 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* nanoftp.c nanohttp.c: the modules should not import <config.h>
|
||||
|
@ -46,7 +46,8 @@ void xmlInitGlobals()
|
||||
|
||||
void xmlCleanupGlobals()
|
||||
{
|
||||
xmlFreeMutex(xmlThrDefMutex);
|
||||
if (xmlThrDefMutex != NULL)
|
||||
xmlFreeMutex(xmlThrDefMutex);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user