Date: Sun, 3 Feb 2013 18:27:57 +0000 (UTC) From: Dmitry Chagin <dchagin@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r246291 - stable/9/sys/compat/linux Message-ID: <201302031827.r13IRvEd084384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dchagin Date: Sun Feb 3 18:27:57 2013 New Revision: 246291 URL: http://svnweb.freebsd.org/changeset/base/246291 Log: MFC r240387 (by kevlo@): Remove redundant check. Modified: stable/9/sys/compat/linux/linux_file.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/compat/linux/linux_file.c ============================================================================== --- stable/9/sys/compat/linux/linux_file.c Sun Feb 3 18:14:37 2013 (r246290) +++ stable/9/sys/compat/linux/linux_file.c Sun Feb 3 18:27:57 2013 (r246291) @@ -381,11 +381,6 @@ getdents_common(struct thread *td, struc auio.uio_resid = buflen; auio.uio_offset = off; - if (cookies) { - free(cookies, M_TEMP); - cookies = NULL; - } - #ifdef MAC /* * Do directory search MAC check using non-cached credentials.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302031827.r13IRvEd084384>