Date: Tue, 22 Apr 2014 21:17:12 +0000 (UTC) From: Christian Brueffer <brueffer@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r264784 - stable/8/usr.bin/find Message-ID: <201404222117.s3MLHCPE037369@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brueffer Date: Tue Apr 22 21:17:12 2014 New Revision: 264784 URL: http://svnweb.freebsd.org/changeset/base/264784 Log: MFC: r264418 Avoid double free in f_acl(). CID: 1018508 Found with: Coverity Prevent(tm) Modified: stable/8/usr.bin/find/function.c Directory Properties: stable/8/usr.bin/find/ (props changed) Modified: stable/8/usr.bin/find/function.c ============================================================================== --- stable/8/usr.bin/find/function.c Tue Apr 22 21:14:50 2014 (r264783) +++ stable/8/usr.bin/find/function.c Tue Apr 22 21:17:12 2014 (r264784) @@ -407,7 +407,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?201404222117.s3MLHCPE037369>