Return memory from setmode.
Obtained from: OpenBSD
This commit is contained in:
parent
e254596824
commit
83268d4dbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41846
@ -949,6 +949,7 @@ c_perm(perm)
|
||||
err(1, "-perm: %s: illegal mode string", perm);
|
||||
|
||||
new->m_data = getmode(set, 0);
|
||||
free(set);
|
||||
return (new);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user