From a69314d2728f44550610ff38d9567c94c958cc0f Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 18 Jan 2004 16:55:01 +0000 Subject: Fixed a memory leak. Reported by: Stanford Metacompilation research group --- sys/dev/ciss/ciss.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/ciss/ciss.c') diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 7c925d0..e3deb35 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -2167,6 +2167,7 @@ ciss_cam_rescan_target(struct ciss_softc *sc, int target) if (xpt_create_path(&sc->ciss_cam_path, xpt_periph, cam_sim_path(sc->ciss_cam_sim), target, 0) != CAM_REQ_CMP) { ciss_printf(sc, "rescan failed (can't create path)\n"); + free(ccb, M_TEMP); return; } -- cgit v1.1