diff options
author | imp <imp@FreeBSD.org> | 1998-12-16 04:50:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-12-16 04:50:46 +0000 |
commit | 16794c966ed51b1c0450795c2c8a5c8d19f26464 (patch) | |
tree | f2b42b8cfa528d27fbc4d31d18a0a39654035c6d /usr.bin/find | |
parent | a25b16eb03db268d43195f74278a7b7e91ccc062 (diff) | |
download | FreeBSD-src-16794c966ed51b1c0450795c2c8a5c8d19f26464.zip FreeBSD-src-16794c966ed51b1c0450795c2c8a5c8d19f26464.tar.gz |
Return memory from setmode.
Obtained from: OpenBSD
Diffstat (limited to 'usr.bin/find')
-rw-r--r-- | usr.bin/find/function.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 1ffdd52..d8a590e 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -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); } |