summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2005-12-08 05:32:55 +0000
committertedu <tedu@openbsd.org>2005-12-08 05:32:55 +0000
commitc2268587e20f20ceab7affe001307b607394990e (patch)
tree3f49d943ab074725decfe50d1d7ea8d2fe582905 /sys/dev/raidframe
parent- Enable the buffer manager on 5705 and newer ASICs. (diff)
downloadwireguard-openbsd-c2268587e20f20ceab7affe001307b607394990e.tar.xz
wireguard-openbsd-c2268587e20f20ceab7affe001307b607394990e.zip
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);
}