Hi everyone,

We've just found a bug in XMLMutex that probably needs fixing. The constructor takes a MemoryManager* to use to create the mutex. However, when the mutex is released the default memory manager is used, not the one passed into the constructor.

I propose that we change XMLMutex to store the MemoryManager it was created with, and use that in it's destructor to release it's mutex.

Any opinions?

John

--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to