From 1202b72441a847b80b2c2a25064e0e3a86356376 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 16 Dec 1998 04:51:27 +0000 Subject: [PATCH] Free memory from setmode. Obtained from: OpenBSD --- usr.bin/xinstall/xinstall.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index f6bc52c0ed46..0948040f561e 100644 --- a/usr.bin/xinstall/xinstall.c +++ b/usr.bin/xinstall/xinstall.c @@ -42,7 +42,7 @@ static const char copyright[] = static char sccsid[] = "From: @(#)xinstall.c 8.1 (Berkeley) 7/21/93"; #endif static const char rcsid[] = - "$Id: xinstall.c,v 1.32 1998/06/02 12:00:07 peter Exp $"; + "$Id: xinstall.c,v 1.33 1998/10/13 14:52:33 des Exp $"; #endif /* not lint */ /*- @@ -164,6 +164,7 @@ main(argc, argv) errx(EX_USAGE, "invalid file mode: %s", optarg); mode = getmode(set, 0); + free(set); break; case 'M': nommap = 1;