net/mlx4_core: Initialize all mailbox buffers to zero before use
[cascardo/linux.git] / fs / xfs / xfs_log_recover.c
index cc17987..3979749 100644 (file)
@@ -1585,6 +1585,7 @@ xlog_recover_add_to_trans(
                "bad number of regions (%d) in inode log format",
                                  in_f->ilf_size);
                        ASSERT(0);
+                       kmem_free(ptr);
                        return XFS_ERROR(EIO);
                }