Don't free filenames when lint

This commit is contained in:
ceriel 1993-06-04 10:30:16 +00:00
parent 4d1b0d3486
commit 5092c4ece3

View file

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