From 33ee21df46bbacc6db8a73836db62f2abfb8536d Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 3 May 2005 22:13:12 +0000 Subject: [PATCH] Branch b1_4 b=6223 Fix this related one too. --- lustre/osc/osc_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index fd55e4f..cf888d6 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2905,12 +2905,12 @@ static int osc_iocontrol(unsigned int cmd, struct obd_export *exp, int len, data = (struct obd_ioctl_data *)buf; if (sizeof(*desc) > data->ioc_inllen1) { - OBD_FREE(buf, len); + obd_ioctl_freedata(buf, len); GOTO(out, err = -EINVAL); } if (data->ioc_inllen2 < sizeof(uuid)) { - OBD_FREE(buf, len); + obd_ioctl_freedata(buf, len); GOTO(out, err = -EINVAL); } -- 1.8.3.1