[xml] Possible bug in globals.c



IMO you should change in xmlInitGlobals()

    if (xmlThrDefMutex != NULL)

to

   if (xmlThrDefMutex == NULL)


because you must allocate memory when xmlThrDefMutex is NULL (from static initialization).

----
Kai
______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]