diff options
author | harti <harti@FreeBSD.org> | 2004-12-17 13:20:19 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2004-12-17 13:20:19 +0000 |
commit | ebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c (patch) | |
tree | 6eb76b042b6e1af4a0e99fe9fd18b8086748cbe0 /usr.bin/make/parse.c | |
parent | fbe42b3f98a3d07f38177307459c6bfaeca73aef (diff) | |
download | FreeBSD-src-ebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c.zip FreeBSD-src-ebeffbcdeb1dbe7f6784d8aa322bbba797e7b07c.tar.gz |
Remove all the cleanup functions. There is no reason to free memory
just before exiting (especially given the number of memory leaks) -
it just costs time.
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r-- | usr.bin/make/parse.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 4aa3313..b9c8c05 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -64,8 +64,6 @@ __FBSDID("$FreeBSD$"); * called before anything else in this module * is used. * - * Parse_End Cleanup the module - * * Parse_File Function used to parse a makefile. It must * be given the name of the file, which should * already have been opened, and a function @@ -2522,17 +2520,6 @@ Parse_Init(void) mainNode = NULL; } -void -Parse_End(void) -{ - - Lst_Destroy(&targets, NOFREE); - Lst_Destroy(&sysIncPath, Dir_Destroy); - Lst_Destroy(&parseIncPath, Dir_Destroy); - Lst_Destroy(&includes, NOFREE); /* Should be empty now */ -} - - /*- *----------------------------------------------------------------------- * Parse_MainName -- |