Menu

#2 Invalid use of delete operator

open
nobody
None
5
2007-06-20
2007-06-20
No

In ScintillaWX.cpp from wxCode CVS there is two times a char[] buffer freed using delete and not delete[]. The lines in question are 515 (in ScintillaWX::Paste()) and 564 (in ScintillaWX::CopyToClipboard). Both lines contain "delete buffer;".

With regards, Morten.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB