Don't free filenames when lint
authorceriel <none@none>
Fri, 4 Jun 1993 10:30:16 +0000 (10:30 +0000)
committerceriel <none@none>
Fri, 4 Jun 1993 10:30:16 +0000 (10:30 +0000)
lang/cem/cemcom.ansi/input.c

index d459096..0bfb800 100644 (file)
@@ -17,6 +17,7 @@ struct file_info      finfo;
 #include <alloc.h>
 
 #include        "dbsymtab.h"
+#include       "lint.h"
 #ifndef NOPP
 #ifdef DBSYMTAB
 #include        <stb.h>
@@ -82,6 +83,8 @@ AtEoIF()
 #endif
 #endif /* NOPP */
        if (WorkingDir[0] != '\0') free(WorkingDir);
+#ifndef LINT
        if (FileName != source) free(FileName);
+#endif
        return 0;
 }