Date: Sun, 13 Apr 2014 19:48:51 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264418 - head/usr.bin/find Message-ID: <201404131948.s3DJmpuN007860@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Sun Apr 13 19:48:51 2014 New Revision: 264418 URL: http://svnweb.freebsd.org/changeset/base/264418 Log: Avoid double free in f_acl(). CID: 1018508 Found with: Coverity Prevent(tm) MFC after: 1 week Modified: head/usr.bin/find/function.c Modified: head/usr.bin/find/function.c ============================================================================== --- head/usr.bin/find/function.c Sun Apr 13 19:48:28 2014 (r264417) +++ head/usr.bin/find/function.c Sun Apr 13 19:48:51 2014 (r264418) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404131948.s3DJmpuN007860>