mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0022753: Fix mismatch new/delete in Standard_Failure.cxx
This commit is contained in:
parent
d63f9881a0
commit
d4cc0c5eb5
@ -38,7 +38,7 @@ static void deallocate_message(Standard_CString aMessage)
|
|||||||
if(aMessage) {
|
if(aMessage) {
|
||||||
(*((Standard_Integer*)aMessage))--;
|
(*((Standard_Integer*)aMessage))--;
|
||||||
if(*((Standard_Integer*)aMessage)==0)
|
if(*((Standard_Integer*)aMessage)==0)
|
||||||
delete (Standard_PCharacter)aMessage;
|
delete [](Standard_PCharacter)aMessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user