hfsplus: Fix kfree of wrong pointers in hfsplus_fill_super() error path
[linux-2.6-microblaze.git] / fs / hfsplus / wrapper.c
index 10e515a..7daf4b8 100644 (file)
@@ -272,9 +272,9 @@ reread:
        return 0;
 
 out_free_backup_vhdr:
-       kfree(sbi->s_backup_vhdr);
+       kfree(sbi->s_backup_vhdr_buf);
 out_free_vhdr:
-       kfree(sbi->s_vhdr);
+       kfree(sbi->s_vhdr_buf);
 out:
        return error;
 }