summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2005-12-08 05:32:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2005-12-08 05:32:56 +0000
commit38eaaa94fb8abb386150fe44ab625201fd6d7659 (patch)
tree1c8ed7128fa7dd5c1e5efd67a79e4339ae0c9d5b /sys/dev/raidframe
parent40bae8c80299bc0c5ca3d7cf88a0f9d3e9aa1865 (diff)
missing free, spotted by greg oster
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_openbsdkintf.c3
1 files changed, 2 insertions, 1 deletions
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);
}