Don't free filenames when lint
This commit is contained in:
parent
aed8cc5cb6
commit
89ebd7aa4b
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user