diff options
author | brueffer <brueffer@FreeBSD.org> | 2014-04-22 21:13:25 +0000 |
---|---|---|
committer | brueffer <brueffer@FreeBSD.org> | 2014-04-22 21:13:25 +0000 |
commit | daa5b9ec25e46147a148026a88988a2f3fd3db80 (patch) | |
tree | d97d725cd20b7e9140ca7bf527227dc9baeaa509 | |
parent | 37a4748dfcf89905efdd1f56c0e50e213d7df08b (diff) | |
download | FreeBSD-src-daa5b9ec25e46147a148026a88988a2f3fd3db80.zip FreeBSD-src-daa5b9ec25e46147a148026a88988a2f3fd3db80.tar.gz |
MFC: r264418
Avoid double free in f_acl().
CID: 1018508
Found with: Coverity Prevent(tm)
-rw-r--r-- | usr.bin/find/function.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index f621608..6bc087d 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -404,7 +404,6 @@ f_acl(PLAN *plan __unused, FTSENT *entry) acl_free(facl); if (ret) { warn("%s", entry->fts_accpath); - acl_free(facl); return (0); } if (trivial) |