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/describe.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/describe.c')
-rw-r--r-- | bin/rdsquashfs/describe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rdsquashfs/describe.c b/bin/rdsquashfs/describe.c index e0e22bc..1e723bc 100644 --- a/bin/rdsquashfs/describe.c +++ b/bin/rdsquashfs/describe.c @@ -17,7 +17,7 @@ static int print_name(const sqfs_tree_node_t *n, bool dont_escape) if (canonicalize_name(name) != 0) { fprintf(stderr, "Error sanitizing file path '%s'\n", name); - free(name); + sqfs_free(name); return -1; } @@ -47,7 +47,7 @@ static int print_name(const sqfs_tree_node_t *n, bool dont_escape) fputc('"', stdout); } - free(name); + sqfs_free(name); return 0; } |