From: deen Date: Wed, 24 Sep 2008 21:52:40 +0000 (+0000) Subject: Properly free struct lookup_intent instance at the end of llu_iop_lookup(). X-Git-Tag: v1_9_80~64 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=79063bcf4227e1f7c29670a8456dfe51e0bc80ba;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 dc54a7e..2857baf 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -595,6 +595,8 @@ int llu_iop_lookup(struct pnode *pnode, } out: + if (it) + OBD_FREE(it, sizeof(*it)); liblustre_wait_event(0); RETURN(rc); }