diff options
Diffstat (limited to 'unpack/restore_fstree.c')
-rw-r--r-- | unpack/restore_fstree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unpack/restore_fstree.c b/unpack/restore_fstree.c index dbcebfa..7cecf16 100644 --- a/unpack/restore_fstree.c +++ b/unpack/restore_fstree.c @@ -258,7 +258,7 @@ static int set_attribs(sqfs_xattr_reader_t *xattr, goto fail; } } - +#endif if (flags & UNPACK_CHOWN) { if (fchownat(AT_FDCWD, path, n->uid, n->gid, AT_SYMLINK_NOFOLLOW)) { @@ -276,7 +276,7 @@ static int set_attribs(sqfs_xattr_reader_t *xattr, goto fail; } } -#endif + free(path); return 0; fail: |