From f0091f959c90083a1548e7dda6d7f3ae8d0f1e63 Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Thu, 16 Sep 2010 01:11:56 +0400 Subject: [PATCH] b=23216 a fix for a possible memory leak in filter_server_init_data i=Alexander Zarochentsev i=Dmitry Zogin --- lustre/obdfilter/filter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 28ddcb1..9d87b35 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -937,6 +937,7 @@ static int filter_init_server_data(struct obd_device *obd, struct file * filp) "bug 10479.\n"); lcd->lcd_uuid[0] = '\0'; } else { + OBD_FREE_PTR(lcd); GOTO(err_client, rc = PTR_ERR(exp)); } } else { -- 1.8.3.1