]> OCCT Git - occt-wok.git/commitdiff
OCC20825 Errors during compilation for new version of WOK
authorcascade <cascade@opencascade.com>
Fri, 30 Jan 2009 17:53:34 +0000 (17:53 +0000)
committercascade <cascade@opencascade.com>
Fri, 30 Jan 2009 17:53:34 +0000 (17:53 +0000)
src/WOKNT/WOKNT_Shell.cxx

index 47bcd587d0472f2fcb935393a0ccadcd7da62bc6..74b7837d5330a682b473f4743ab7f2c990e49ed6 100755 (executable)
@@ -66,8 +66,8 @@ void WOKNT_Shell :: Destroy () {
 
  Kill ();
 
delete myOutput;
-
WOKNT_MixedOutput* anOutput = (WOKNT_MixedOutput*)myOutput;
+ delete anOutput;
 }  // end WOKNT_Shell :: Destroy
 
 void WOKNT_Shell :: Launch () {