diff options
author | imp <imp@FreeBSD.org> | 1998-12-16 04:51:27 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-12-16 04:51:27 +0000 |
commit | 3d6d60242a7d4ccad87b4cb97889793dc12883af (patch) | |
tree | 5578c6eceea43142a55e6fe2d5c07d8c78c7382f /usr.bin/xinstall | |
parent | 16794c966ed51b1c0450795c2c8a5c8d19f26464 (diff) | |
download | FreeBSD-src-3d6d60242a7d4ccad87b4cb97889793dc12883af.zip FreeBSD-src-3d6d60242a7d4ccad87b4cb97889793dc12883af.tar.gz |
Free memory from setmode.
Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r-- | usr.bin/xinstall/xinstall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/xinstall/xinstall.c b/usr.bin/xinstall/xinstall.c index f6bc52c..0948040 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; |