[Bug c++/15050] Compiled templated code crashes on delete []

bracken at ansoft dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 21 19:46:00 GMT 2004


------- Additional Comments From bracken at ansoft dot com  2004-04-21 19:27 -------
How so?  The function OctNode<T, kD>::SetUserData() does an array new:

  mData = new OctNodeUserData<T, kD>[kD];



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15050



More information about the Gcc-bugs mailing list