diff options
author | Warner Losh <imp@FreeBSD.org> | 1998-12-16 04:42:33 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1998-12-16 04:42:33 +0000 |
commit | a4324714a9da4dbb693d2a090337b1ed824009a3 (patch) | |
tree | 08ff35d0d89ee4b5d5076dad1bbe57e109dd3966 /bin/chmod | |
parent | 81e4e6a2d644539f199cbe73a6ffff8c46823be9 (diff) | |
download | src-a4324714a9da4dbb693d2a090337b1ed824009a3.tar.gz src-a4324714a9da4dbb693d2a090337b1ed824009a3.zip |
Free memory obtained from setmode.
Obtained from: OpenBSD
Notes
Notes:
svn path=/head/; revision=41842
Diffstat (limited to 'bin/chmod')
-rw-r--r-- | bin/chmod/chmod.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 0d868243f442..4e1712397888 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -42,7 +42,7 @@ static char const copyright[] = static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94"; #endif static const char rcsid[] = - "$Id: chmod.c,v 1.10 1998/05/06 06:50:08 charnier Exp $"; + "$Id: chmod.c,v 1.11 1998/05/13 07:22:11 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -195,6 +195,7 @@ done: argv += optind; } if (errno) err(1, "fts_read"); + free(set); exit(rval); } |