]> andersk Git - splint.git/blobdiff - src/globalsClause.c
Win32 problems
[splint.git] / src / globalsClause.c
index 411389edbfff6be285a42ab86e2a53a83e23b457..e9508d1ee1a229ec27c97ed006b72ea733c877f3 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2001 University of Virginia,
+** Copyright (C) 1994-2002 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
 ** For more information: http://www.splint.org
 */
 /*
 ** globalsClause.c
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 
 extern globalsClause 
@@ -51,6 +51,11 @@ globSet globalsClause_takeGlobs (globalsClause gclause)
 
 extern void globalsClause_free (globalsClause gclause)
 {
+  if (gclause == NULL)
+    {
+      return; /*@i435 shouldn't ever need this? */
+    }
+
   globSet_free (gclause->globs);
   sfree (gclause);
 }
This page took 0.270397 seconds and 4 git commands to generate.