]> andersk Git - splint.git/blobdiff - src/globalsClause.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / globalsClause.c
index c32465e46ea79213cf4a2f31e7e054dae9a43874..a0c9fca6a33d18a39a1b712592ebc81fd0b95fd6 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -34,7 +34,8 @@ globalsClause_create (lltok tok, globSet gl)
   globalsClause res = (globalsClause) dmalloc (sizeof (*res));
   res->globs = gl;
   res->loc = fileloc_copy (lltok_getLoc (tok));
-  /*@i423@*/ return res; /* releases doesn't seem to work right here... */
+  lltok_free (tok); 
+  return res; /* releases doesn't seem to work right here... */
 }
 
 globSet globalsClause_getGlobs (globalsClause gclause)
@@ -53,7 +54,7 @@ extern void globalsClause_free (globalsClause gclause)
 {
   if (gclause == NULL)
     {
-      return; /*@i435 shouldn't ever need this? */
+      return; /* shouldn't ever need this? */
     }
 
   globSet_free (gclause->globs);
This page took 0.033237 seconds and 4 git commands to generate.