mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0022753: Fix mismatch new/delete in Standard_Failure.cxx
This commit is contained in:
@@ -38,7 +38,7 @@ static void deallocate_message(Standard_CString aMessage)
|
||||
if(aMessage) {
|
||||
(*((Standard_Integer*)aMessage))--;
|
||||
if(*((Standard_Integer*)aMessage)==0)
|
||||
delete (Standard_PCharacter)aMessage;
|
||||
delete [](Standard_PCharacter)aMessage;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user