DiscussionsIssue archiveOCCT:Foundation Classes

Archived issue #0022931

Wrong delete operator in Message_Msg.cxx / Message_PrinterOStream.cxx

CommunityOCCT:Foundation Classesclosed6 public notes

Search issues

Description

Message_Msg.cxx (line 160) / Message_PrinterOStream.cxx (line 125) should use the "delete []" operator as arrays are deleted.

Public activity

6 archived notes

Participants are labeled by their role within this record.

01Author
forgot to set the [Product Version] to OCCT 6.5.2
02Commenter 2
"delete []" operator used

Branch http://svn/svn/occt/branches/OCC22931 is ready to be reviewed.

Dear Andrey,
Please review.
03Commenter 3
No remarks (apart of that all this should be made with normal C++ classes, but this is different story); please test.
04Commenter 4
Dear Commenter 1,
Workbench aan-22931-occt was created from SVN branch http://svn/svn/occt/branches/OCC22931
(and aan-22931-products from trunk) and compiled on Linux platform.

There are not regressions in aan-22931-products regarding to KAS:dev:products-20120210-opt

See results in /QADisk/occttests/results/KAS/dev/aan-22931-products_15022012/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-20120210-opt_10022012/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://doc/doku.php?id=occt:certification

05Commenter 1
Integrated into trunk of occt repository

Date: 2012-02-17 12:03:59 +0400 (Fri, 17 Feb 2012)
New Revision: 10496

Modified:
   trunk/src/Message/Message_Msg.cxx
   trunk/src/Message/Message_PrinterOStream.cxx
06Author
Verified. Please close.