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)
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to