You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/10/10 15:16:50 UTC
DO NOT REPLY [Bug 13490] New: -
new[]/delete mismatch in RangeToken.cpp
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13490>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13490
new[]/delete mismatch in RangeToken.cpp
Summary: new[]/delete mismatch in RangeToken.cpp
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: dgohman@earthlink.net
util/regx/RangeToken.cpp
In both RangeToken::setRangeValues and RangeToken::~RangeToken the delete
on `fMap' should be changed to a `delete[]' because fMap is used to point
to a dynamically allocated array.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org