0022753: Fix mismatch new/delete in Standard_Failure.cxx
authorDBV <>
Fri, 25 Nov 2011 13:18:14 +0000 (13:18 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:31:16 +0000 (19:31 +0400)
src/Standard/Standard_Failure.cxx

index fc79488..a208c6d 100755 (executable)
@@ -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;
   }
 }