Don't free filenames when lint
This commit is contained in:
parent
4d1b0d3486
commit
5092c4ece3
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue