Date: Wed, 9 May 2018 02:02:59 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333392 - head/sys/contrib/ipfilter/netinet Message-ID: <201805090202.w4922xsD006415@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cy Date: Wed May 9 02:02:58 2018 New Revision: 333392 URL: https://svnweb.freebsd.org/changeset/base/333392 Log: Fix memory leak. (CID 1199373). MFC after: 1 week Modified: head/sys/contrib/ipfilter/netinet/ip_dstlist.c Modified: head/sys/contrib/ipfilter/netinet/ip_dstlist.c ============================================================================== --- head/sys/contrib/ipfilter/netinet/ip_dstlist.c Wed May 9 02:02:49 2018 (r333391) +++ head/sys/contrib/ipfilter/netinet/ip_dstlist.c Wed May 9 02:02:58 2018 (r333392) @@ -690,6 +690,7 @@ ipf_dstlist_node_del(softc, arg, op, uid) err = COPYIN(op->iplo_struct, temp, size); if (err != 0) { IPFERROR(120027); + KFREES(temp, size); return EFAULT; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805090202.w4922xsD006415>