From ebbfae5191185f2b2c25428d6584b30ae09d428a Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 18 Jan 2004 17:34:11 +0000 Subject: [PATCH] Fixed a memory leak. Reported by: Stanford Metacompilation research group Reviewed by: scottl --- sys/dev/ips/ips.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ips/ips.c b/sys/dev/ips/ips.c index 165ebb0eacb..bf094f81c95 100644 --- a/sys/dev/ips/ips.c +++ b/sys/dev/ips/ips.c @@ -169,6 +169,7 @@ static int ips_add_waiting_command(ips_softc_t *sc, int (*callback)(ips_command_ mask = splbio(); if(sc->state & IPS_OFFLINE){ splx(mask); + free(waiter, M_DEVBUF); return EIO; } command = SLIST_FIRST(&sc->free_cmd_list); -- 2.45.2