From 469da9858404680345aa50687f1f6eca2c339e08 Mon Sep 17 00:00:00 2001 From: deen <deen> Date: Wed, 24 Sep 2008 21:50:19 +0000 Subject: [PATCH] Properly free struct lookup_intent instance at the end of llu_iop_lookup(). b=12787 i=johann i=oleg.drokin --- lustre/liblustre/namei.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index 4b6895bef7..ef60178b23 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); } -- GitLab