aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sqfs/read_inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqfs/read_inode.c b/lib/sqfs/read_inode.c
index 51662eb..2887959 100644
--- a/lib/sqfs/read_inode.c
+++ b/lib/sqfs/read_inode.c
@@ -338,7 +338,8 @@ int sqfs_meta_reader_read_inode(sqfs_meta_reader_t *ir,
SWAB32(out->data.ipc_ext.xattr_idx);
break;
default:
- return SQFS_ERROR_UNSUPPORTED;
+ err = SQFS_ERROR_UNSUPPORTED;
+ goto fail_free;
}
*result = out;