diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-07-04 20:01:59 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-07-08 19:17:35 +0200 |
commit | 3946cf086183f8dd4d5d115f52ba1b87560b7ce4 (patch) | |
tree | 2659b940b757d1bd177d00562bf8e41a333ef12e /bin/rdsquashfs/restore_fstree.c | |
parent | 8c0aa2504199036eaaa09673ea93dcdcd79606ef (diff) |
Move sqfs_tree_node_get_path to libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/rdsquashfs/restore_fstree.c')
-rw-r--r-- | bin/rdsquashfs/restore_fstree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/rdsquashfs/restore_fstree.c b/bin/rdsquashfs/restore_fstree.c index 57582c2..cf5bc2a 100644 --- a/bin/rdsquashfs/restore_fstree.c +++ b/bin/rdsquashfs/restore_fstree.c @@ -141,7 +141,7 @@ static int create_node_dfs(const sqfs_tree_node_t *n, int flags) printf("creating %s\n", name); ret = create_node(n, name, flags); - free(name); + sqfs_free(name); if (ret) return -1; @@ -276,10 +276,10 @@ static int set_attribs(sqfs_xattr_reader_t *xattr, } } - free(path); + sqfs_free(path); return 0; fail: - free(path); + sqfs_free(path); return -1; } |