From 2545695e6aa47fc9f4381636b7b8c6cfa5cd023b Mon Sep 17 00:00:00 2001 From: Christian Brueffer Date: Sun, 13 Apr 2014 19:48:51 +0000 Subject: [PATCH] Avoid double free in f_acl(). CID: 1018508 Found with: Coverity Prevent(tm) MFC after: 1 week --- usr.bin/find/function.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 045b4308b4ed..511edf21050a 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)