From 66a0043d44369e632b04cf4c50973351edf030b5 Mon Sep 17 00:00:00 2001 From: drl7x Date: Mon, 21 Apr 2003 06:12:30 +0000 Subject: [PATCH] Commented out the context_destroyMod (); destroy line 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/llmain.c b/src/llmain.c index 739fc96..a5cd809 100644 --- a/src/llmain.c +++ b/src/llmain.c @@ -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 (); -- 2.45.0