Hello,
I've been using gcc-3.4.1 on a pc-Linux platform and recently I found an error which was caught using valgrind-2.1.1
The error is a mismatch delete call in include/c++/3.4.1/memory line 122. ::operator delete is being called on a temporary buffer array instead of the correct call to ::operator delete[].
/** * @brief The companion to get_temporary_buffer(). * @param p A buffer previously allocated by get_temporary_buffer. * @return None. * * Frees the memory pointed to by p. */ template<typename _Tp> void return_temporary_buffer(_Tp* __p) { ::operator delete(__p, nothrow); } <---ERROR!
Since this did not appear as a bug, I cannot really fill out a bug report. How should I proceed to report this?
Thanks,
-Steve Sayre-