diff options
Diffstat (limited to 'bin/sqfs2tar')
-rw-r--r-- | bin/sqfs2tar/xattr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sqfs2tar/xattr.c b/bin/sqfs2tar/xattr.c index 9a9ec82..abec4fb 100644 --- a/bin/sqfs2tar/xattr.c +++ b/bin/sqfs2tar/xattr.c @@ -68,13 +68,13 @@ int get_xattrs(const char *name, const sqfs_inode_generic_t *inode, ret = sqfs_xattr_reader_read_value(xr, key, &value); if (ret) { sqfs_perror(name, "reading xattr value", ret); - free(key); + sqfs_free(key); goto fail; } ent = mkxattr(key, value); - free(key); - free(value); + sqfs_free(key); + sqfs_free(value); if (ent == NULL) goto fail; |