diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2013-09-19 22:16:47 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2013-09-19 22:16:47 +0000 |
commit | 6f7df7af6e1e5c41467e91750c39860bb629976b (patch) | |
tree | b99e82c9a47b6c3223666230920a675febf16235 | |
parent | bcfb35515b10b3d6d0002f414bb940acb1437d80 (diff) | |
download | sg3_utils-6f7df7af6e1e5c41467e91750c39860bb629976b.tar.gz |
sg_pt_freebsd cam_getccb() leak, again
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@516 6180dd3e-e324-4e3e-922d-17de1ae2f315
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | lib/sg_pt_freebsd.c | 2 | ||||
-rw-r--r-- | sg3_utils.spec | 2 |
5 files changed, 6 insertions, 4 deletions
@@ -2,7 +2,7 @@ Each utility has its own version number, date of last change and some description at the top of its ".c" file. All utilities in the main directory have their own "man" pages. There is also a sg3_utils man page. -Changelog for sg3_utils-1.37 [20130919] [svn: r515] +Changelog for sg3_utils-1.37 [20130919] [svn: r516] - sg_compare_and_write: fix wrprotect setting - add --quiet option to suppress miscompare report - merge features from another implementation @@ -391,4 +391,4 @@ See http://sg.danny.cz/sg/tools.html Douglas Gilbert -17th September 2013 +19th September 2013 diff --git a/debian/changelog b/debian/changelog index 5fd3be5c..e79c8a9c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,7 +2,7 @@ sg3-utils (1.37-0.1) unstable; urgency=low * New upstream version - -- Douglas Gilbert <dgilbert@interlog.com> Tue, 17 Sep 2013 15:00:00 -0400 + -- Douglas Gilbert <dgilbert@interlog.com> Thu, 19 Sep 2013 18:00:00 -0400 sg3-utils (1.36-0.1) unstable; urgency=low diff --git a/lib/sg_pt_freebsd.c b/lib/sg_pt_freebsd.c index 33ad7018..a644f416 100644 --- a/lib/sg_pt_freebsd.c +++ b/lib/sg_pt_freebsd.c @@ -199,6 +199,8 @@ clear_scsi_pt_obj(struct sg_pt_base * vp) struct sg_pt_freebsd_scsi * ptp = &vp->impl; if (ptp) { + if (ptp->ccb) + cam_freeccb(ptp->ccb); memset(ptp, 0, sizeof(struct sg_pt_freebsd_scsi)); ptp->dxfer_dir = CAM_DIR_NONE; } diff --git a/sg3_utils.spec b/sg3_utils.spec index 58d45d35..0b4ccc24 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -79,7 +79,7 @@ fi %{_libdir}/*.la %changelog -* Tue Sep 17 2013 - dgilbert at interlog dot com +* Thu Sep 19 2013 - dgilbert at interlog dot com - track t10 changes * sg3_utils-1.37 |