Whamcloud - gitweb
Properly free struct lookup_intent instance at the end of llu_iop_lookup().
authordeen <deen>
Wed, 24 Sep 2008 21:51:33 +0000 (21:51 +0000)
committerdeen <deen>
Wed, 24 Sep 2008 21:51:33 +0000 (21:51 +0000)
b=12787
i=johann
i=oleg.drokin

lustre/liblustre/namei.c

index 4b6895b..ef60178 100644 (file)
@@ -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);
 }