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

lustre/liblustre/namei.c

index dc54a7e..2857baf 100644 (file)
@@ -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);
 }