diff options
| author | Warner Losh <imp@FreeBSD.org> | 1998-12-16 04:45:35 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 1998-12-16 04:45:35 +0000 |
| commit | a207266e911e3556eab407a47f43f6d64982951b (patch) | |
| tree | aa475083710575956e4a9324629b5a9577ce7846 | |
| parent | 0fd975510fdc4b5b85e7b192b9b3f315efa4ea96 (diff) | |
Notes
| -rw-r--r-- | bin/sh/miscbltin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/miscbltin.c b/bin/sh/miscbltin.c index 772a3fd17a47..4daacacfca51 100644 --- a/bin/sh/miscbltin.c +++ b/bin/sh/miscbltin.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)miscbltin.c 8.4 (Berkeley) 5/4/95"; #endif static const char rcsid[] = - "$Id: miscbltin.c,v 1.16 1998/08/24 10:20:36 cracauer Exp $"; + "$Id: miscbltin.c,v 1.17 1998/08/25 09:33:34 cracauer Exp $"; #endif /* not lint */ /* @@ -285,10 +285,11 @@ umaskcmd(argc, argv) } else { void *set; if ((set = setmode (ap)) == 0) - error("Illegal number: %s", ap); + error("Illegal number: %s", ap); mask = getmode (set, ~mask & 0777); umask(~mask & 0777); + free(set); } } return 0; |
