From: deen Date: Wed, 24 Sep 2008 21:50:19 +0000 (+0000) Subject: Properly free struct lookup_intent instance at the end of llu_iop_lookup(). X-Git-Tag: GIT_EPOCH_B_RELEASE_1_6_7~2^3~216 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=469da9858404680345aa50687f1f6eca2c339e08;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); }