diff --git a/xmlmemory.c b/xmlmemory.c index fed39f94..0268ae43 100644 --- a/xmlmemory.c +++ b/xmlmemory.c @@ -568,12 +568,7 @@ xmlMemoryStrdup(const char *str) { int xmlMemUsed(void) { - int res; - - xmlMutexLock(&xmlMemMutex); - res = debugMemSize; - xmlMutexUnlock(&xmlMemMutex); - return(res); + return(debugMemSize); } /**