Archived issue #0022753
Fix mismatch new/delete in Standard_Failure.cxx
Description
Post from the Forum - http://www.opencascade.org/org/forum/thread_21949/.
"string is created by new[] operator in allocate_message, and must then be deleted by delete[] and not delete in deallocate_message.Patch attached."
Leads to memory leak.
"string is created by new[] operator in allocate_message, and must then be deleted by delete[] and not delete in deallocate_message.Patch attached."
Leads to memory leak.
Steps to reproduce
No need.
Additional information
Patch is attached.
Public activity
4 archived notes
Participants are labeled by their role within this record.
Reviewed with no comments
Dear Commenter 1,
Workbench KAS:dev:mkv-22753-occt was created from SVN branch http://svn/svn/occt/branches/OCC22753
(and mkv-22753-products from trunk) and compiled on Linux platform.
There are not regressions in mkv-22753-products regarding to KAS:dev:products-652-opt:
See results in /QADisk/occttests/results/KAS/dev/mkv-22753-products_22112011/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-652-opt_23092011/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
Workbench KAS:dev:mkv-22753-occt was created from SVN branch http://svn/svn/occt/branches/OCC22753
(and mkv-22753-products from trunk) and compiled on Linux platform.
There are not regressions in mkv-22753-products regarding to KAS:dev:products-652-opt:
See results in /QADisk/occttests/results/KAS/dev/mkv-22753-products_22112011/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-652-opt_23092011/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
Integration into trunk of occt repository
Date: 2011-11-25 17:18:14 +0400 (Fri, 25 Nov 2011)
New Revision: 9549
Modified:
trunk/src/Standard/Standard_Failure.cxx
Date: 2011-11-25 17:18:14 +0400 (Fri, 25 Nov 2011)
New Revision: 9549
Modified:
trunk/src/Standard/Standard_Failure.cxx