Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf7a8b0
)
fix a memleak.
author
huanghua
<huanghua>
Mon, 11 Sep 2006 07:28:10 +0000
(07:28 +0000)
committer
huanghua
<huanghua>
Mon, 11 Sep 2006 07:28:10 +0000
(07:28 +0000)
lustre/mdd/mdd_handler.c
patch
|
blob
|
history
diff --git
a/lustre/mdd/mdd_handler.c
b/lustre/mdd/mdd_handler.c
index
b9b5942
..
4f21399
100644
(file)
--- a/
lustre/mdd/mdd_handler.c
+++ b/
lustre/mdd/mdd_handler.c
@@
-1640,6
+1640,8
@@
out:
/* finish mdd_lov_create() stuff */
mdd_lov_create_finish(ctxt, mdd, rc);
mdd_trans_stop(ctxt, mdd, rc, handle);
+ if (lmm)
+ OBD_FREE(lmm, lmm_size);
RETURN(rc);
}