aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index eeac97bb3bfa..b3fdd1a323d6 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -1498,10 +1498,8 @@ leave:
1498 1498
1499 dlm_put(dlm); 1499 dlm_put(dlm);
1500 if (ret < 0) { 1500 if (ret < 0) {
1501 if (buf) 1501 kfree(buf);
1502 kfree(buf); 1502 kfree(item);
1503 if (item)
1504 kfree(item);
1505 mlog_errno(ret); 1503 mlog_errno(ret);
1506 } 1504 }
1507 1505