projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix xfree() so it can be re-written as a macro
[unix-history]
/
usr
/
src
/
bin
/
csh
/
func.c
diff --git
a/usr/src/bin/csh/func.c
b/usr/src/bin/csh/func.c
index
d3fe63d
..
9011738
100644
(file)
--- a/
usr/src/bin/csh/func.c
+++ b/
usr/src/bin/csh/func.c
@@
-6,7
+6,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)func.c 5.2
4
(Berkeley) %G%";
+static char sccsid[] = "@(#)func.c 5.2
5
(Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
@@
-982,7
+982,8
@@
dounsetenv(v, t)
Unsetenv(name);
break;
}
Unsetenv(name);
break;
}
- xfree((ptr_t) name), name = NULL;
+ xfree((ptr_t) name);
+ name = NULL;
}
void
}
void