mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +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
|
// Output
|
||||||
cout << anAsciiString << flush;
|
cout << anAsciiString << flush;
|
||||||
delete anAsciiString;
|
delete [] anAsciiString;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user