1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0023532: Mismatching allocation and deallocation: anAsciiString, CDM_COutMessageDriver.cxx

Replaced 'delete' with 'delete []' when deallocating array.
This commit is contained in:
Pawel 2012-11-30 15:35:12 +04:00
parent 529b95df0d
commit 08b86c1dfc

View File

@ -48,5 +48,5 @@ void CDM_COutMessageDriver::Write (const Standard_ExtString aString)
// Output
cout << anAsciiString << flush;
delete anAsciiString;
delete [] anAsciiString;
}