Free memory from setmode.
Obtained from: OpenBSD
This commit is contained in:
parent
83268d4dbb
commit
1202b72441
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41847
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user