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:
parent
529b95df0d
commit
08b86c1dfc
@ -48,5 +48,5 @@ void CDM_COutMessageDriver::Write (const Standard_ExtString aString)
|
||||
|
||||
// Output
|
||||
cout << anAsciiString << flush;
|
||||
delete anAsciiString;
|
||||
delete [] anAsciiString;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user