Author: mav Date: Tue Oct 22 13:52:20 2013 New Revision: 256893 URL: http://svnweb.freebsd.org/changeset/base/256893
Log: Fix memory and references leak due to unfreed path. Coverity CID: 1109815 Modified: head/sys/dev/buslogic/bt.c Modified: head/sys/dev/buslogic/bt.c ============================================================================== --- head/sys/dev/buslogic/bt.c Tue Oct 22 13:50:54 2013 (r256892) +++ head/sys/dev/buslogic/bt.c Tue Oct 22 13:52:20 2013 (r256893) @@ -1586,8 +1586,10 @@ btdone(struct bt_softc *bt, struct bt_cc bccb->hccb.target_id, CAM_LUN_WILDCARD); - if (error == CAM_REQ_CMP) + if (error == CAM_REQ_CMP) { xpt_async(AC_SENT_BDR, path, NULL); + xpt_free_path(path); + } ccb_h = LIST_FIRST(&bt->pending_ccbs); while (ccb_h != NULL) { _______________________________________________ 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"