From: deen Date: Wed, 24 Sep 2008 21:51:33 +0000 (+0000) Subject: Properly free struct lookup_intent instance at the end of llu_iop_lookup(). X-Git-Tag: v1_7_110~1^75 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=02f7cc405bbc72bc1e680e3bca39852fdf82e429;p=fs%2Flustre-release.git Properly free struct lookup_intent instance at the end of llu_iop_lookup(). b=12787 i=johann i=oleg.drokin --- diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index 4b6895b..ef60178b 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -601,6 +601,8 @@ int llu_iop_lookup(struct pnode *pnode, } out: + if (it) + OBD_FREE(it, sizeof(*it)); liblustre_wait_event(0); RETURN(rc); }