]> andersk Git - splint.git/commitdiff
Commented out the context_destroyMod (); destroy line
authordrl7x <drl7x>
Mon, 21 Apr 2003 06:12:30 +0000 (06:12 +0000)
committerdrl7x <drl7x>
Mon, 21 Apr 2003 06:12:30 +0000 (06:12 +0000)
in llmain.c.

One of the functions called by this line causes a crash iff this is copmiled with gcc 2.95.  Since we're going to exit anyway I didn't see any reason from this line.

src/llmain.c

index 739fc96f74a17ba7560c7142a184edcfb2ba28d7..a5cd809a346f097ef9164f161e3cd805ebb5f293 100644 (file)
@@ -1286,7 +1286,13 @@ llexit (int status)
   if (status != LLFAILURE)
     {
       usymtab_destroyMod ();
-      context_destroyMod ();
+
+      /*drl I'm commenting this line out
+               because it is causing Splint to crash when built with
+                       2.95 I'm not sure if this is a compiler bug or if if has to do with bool
+                               Any way if we're going to exist the program why do we bother freeing stuff...
+      */
+      /*      context_destroyMod (); */
       exprNode_destroyMod ();
       cppReader_destroyMod ();
       sRef_destroyMod ();
This page took 0.045823 seconds and 5 git commands to generate.