diff options
Diffstat (limited to 'usr.bin/find/function.c')
-rw-r--r-- | usr.bin/find/function.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index f1f635c4bee..d7f4c6bf4f3 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -1,4 +1,4 @@ -/* $OpenBSD: function.c,v 1.11 1997/11/13 08:30:33 deraadt Exp $ */ +/* $OpenBSD: function.c,v 1.12 1998/09/26 09:04:43 deraadt Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)function.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: function.c,v 1.11 1997/11/13 08:30:33 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: function.c,v 1.12 1998/09/26 09:04:43 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -1035,6 +1035,7 @@ c_perm(perm) err(1, "-perm: %s: illegal mode string", perm); new->m_data = getmode(set, 0); + free(set); return (new); } |