summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/find/function.c1
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);
}
OpenPOWER on IntegriCloud