Hi David,

David Bertoni <[EMAIL PROTECTED]> writes:

> There are likely more places where NULL pointers end up getting passed 
> to MemoryManager::deallocate(), so I think we ought to make it a 
> requirement that deallocate() work correctly with a null pointer value.

Ok, I've added the check to deallocate. We, however, should try
to clean up as many places as possible since it is a completely
unnecessary virtual function call.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to