diff options
| author | Kaho Ng <ngkaho1234@gmail.com> | 2016-05-12 00:22:22 +0800 |
|---|---|---|
| committer | Kaho Ng <ngkaho1234@gmail.com> | 2016-05-12 00:22:22 +0800 |
| commit | 18ddc30b89ea8ced586e8ff8c09c46613f1a397c (patch) | |
| tree | 33cbb024845d2f381394ae25d3f948e12c2dc934 /src | |
| parent | 2e93de2e29c061c7cf7f0fc9562a00d3dc16b561 (diff) | |
ext4_xattr: fix freeing inode_ref's buffer when failed to initialize.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ext4_xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext4_xattr.c b/src/ext4_xattr.c index 086245e..72d6aa0 100644 --- a/src/ext4_xattr.c +++ b/src/ext4_xattr.c @@ -856,7 +856,7 @@ int ext4_fs_get_xattr_ref(struct ext4_fs *fs, struct ext4_inode_ref *inode_ref, if (rc != EOK) { ext4_xattr_purge_items(ref); if (xattr_block) - ext4_block_set(fs->bdev, &inode_ref->block); + ext4_block_set(fs->bdev, &ref->block); ref->block_loaded = false; return rc; |
