diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-10-23 23:16:43 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-10-23 23:16:43 +0000 |
commit | 435bfdfa4436731362eb9fac66643198e6e238e4 (patch) | |
tree | bbd5e7ccf4fc366bc27a8cad8364cb37e593aa28 /usr.bin/make/make.c | |
parent | d98de7a2cf71a2e2d7fa1681696f9e0784cf85a5 (diff) | |
download | FreeBSD-src-435bfdfa4436731362eb9fac66643198e6e238e4.zip FreeBSD-src-435bfdfa4436731362eb9fac66643198e6e238e4.tar.gz |
Remove efree(), it isn't used consistently enough to even pretend that it
might help on the systems it could possibly be used as a bandaid for. In
fact, the only thing it's useful for is instrumenting free(3) calls, and in
that capacity, it's better served as a local patch, than a public wrapper.
Diffstat (limited to 'usr.bin/make/make.c')
-rw-r--r-- | usr.bin/make/make.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 653bd21..762b65a 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -375,7 +375,7 @@ Make_Update (GNode *cgn) char *p1; cname = Var_Value (TARGET, cgn, &p1); - efree(p1); + free(p1); /* * If the child was actually made, see what its modification time is @@ -502,7 +502,7 @@ Make_Update (GNode *cgn) Var_Set (PREFIX, cpref, pgn); } } - efree(ptr); + free(ptr); Lst_Close (cgn->iParents); } } @@ -570,7 +570,7 @@ MakeAddAllSrc (void *cgnp, void *pgnp) */ Var_Append(OODATE, child, pgn); } - efree(p1); + free(p1); } return (0); } @@ -612,7 +612,7 @@ Make_DoAllVar (GNode *gn) if (gn->type & OP_JOIN) { char *p1; Var_Set (TARGET, Var_Value (ALLSRC, gn, &p1), gn); - efree(p1); + free(p1); } } |