valgrind confused by std::allocator calls to operator new(0)

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Feb 22 14:28:00 GMT 2005


Michael Veksler <VEKSLER@il.ibm.com> writes:

| Is it possible/reasonable to change new_allocator::allocate such that
| it returns NULL when __n ==0 ? Should I open a PR against libstdc++?

Yes, please.

-- Gaby



More information about the Libstdc++ mailing list