Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-1884 build: fix 'resource leak' errors
[fs/lustre-release.git]
/
lustre
/
obdfilter
/
filter_log.c
diff --git
a/lustre/obdfilter/filter_log.c
b/lustre/obdfilter/filter_log.c
index
d997ae8
..
626ab8f
100644
(file)
--- a/
lustre/obdfilter/filter_log.c
+++ b/
lustre/obdfilter/filter_log.c
@@
-177,6
+177,7
@@
static int filter_recov_log_unlink_cb(struct llog_ctxt *ctxt,
if (oa->o_seq > FID_SEQ_OST_MAX) {
CERROR("%s: invalid group number "LPU64" > MAX_CMD_GROUP %u\n",
exp->exp_obd->obd_name, oa->o_seq, FID_SEQ_OST_MAX);
+ OBDO_FREE(oa);
RETURN(-EINVAL);
}