summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sqfs/xattr_reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/xattr_reader.c b/lib/sqfs/xattr_reader.c
index bad160d..37f222a 100644
--- a/lib/sqfs/xattr_reader.c
+++ b/lib/sqfs/xattr_reader.c
@@ -117,8 +117,8 @@ int sqfs_xattr_reader_load(sqfs_xattr_reader_t *xr, const sqfs_super_t *super,
}
if (xr->kvrd != NULL) {
- sqfs_destroy(xr->idrd);
- xr->idrd = NULL;
+ sqfs_destroy(xr->kvrd);
+ xr->kvrd = NULL;
}
free(xr->id_block_starts);