Date: Sat, 2 Aug 2014 20:15:00 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269444 - head/sys/cam/ctl Message-ID: <201408022015.s72KF05N056490@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sat Aug 2 20:15:00 2014 New Revision: 269444 URL: http://svnweb.freebsd.org/changeset/base/269444 Log: Plug EXTENDED COPY request data memory leak. MFC after: 3 days Modified: head/sys/cam/ctl/ctl_tpc.c Modified: head/sys/cam/ctl/ctl_tpc.c ============================================================================== --- head/sys/cam/ctl/ctl_tpc.c Sat Aug 2 20:06:36 2014 (r269443) +++ head/sys/cam/ctl/ctl_tpc.c Sat Aug 2 20:15:00 2014 (r269444) @@ -948,6 +948,8 @@ done: free(list, M_CTL); } else { list->completed = 1; + free(list->params, M_CTL); + list->params = NULL; list->sense_data = ctsio->sense_data; list->sense_len = ctsio->sense_len; list->scsi_status = ctsio->scsi_status;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408022015.s72KF05N056490>