From 38eaaa94fb8abb386150fe44ab625201fd6d7659 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 8 Dec 2005 05:32:56 +0000 Subject: missing free, spotted by greg oster --- sys/dev/raidframe/rf_openbsdkintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/raidframe/rf_openbsdkintf.c b/sys/dev/raidframe/rf_openbsdkintf.c index 228e52fef40..81266454632 100644 --- a/sys/dev/raidframe/rf_openbsdkintf.c +++ b/sys/dev/raidframe/rf_openbsdkintf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_openbsdkintf.c,v 1.29 2005/11/10 01:00:51 pedro Exp $ */ +/* $OpenBSD: rf_openbsdkintf.c,v 1.30 2005/12/08 05:32:55 tedu Exp $ */ /* $NetBSD: rf_netbsdkintf.c,v 1.109 2001/07/27 03:30:07 oster Exp $ */ /*- @@ -1101,6 +1101,7 @@ raidioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) if ((row < 0) || (row >= raidPtr->numRow) || (column < 0) || (column >= raidPtr->numCol)) { + RF_Free( clabel, sizeof(RF_ComponentLabel_t)); return(EINVAL); } -- cgit v1.2.3