]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/ubifs/tnc_misc.c
xfs: move the dir2 leaf header size to struct xfs_da_geometry
[linux.git] / fs / ubifs / tnc_misc.c
index 6f293f662d983afed23d90649134c6b915c4d69a..49cb34c3f3243213446cf75d1d0e4d4c6c7e25e7 100644 (file)
@@ -284,6 +284,7 @@ static int read_znode(struct ubifs_info *c, struct ubifs_zbranch *zzbr,
        err = ubifs_node_check_hash(c, idx, zzbr->hash);
        if (err) {
                ubifs_bad_hash(c, idx, zzbr->hash, lnum, offs);
+               kfree(idx);
                return err;
        }