diff options
Diffstat (limited to 'bin/gensquashfs/src/fstree_from_dir.c')
-rw-r--r-- | bin/gensquashfs/src/fstree_from_dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gensquashfs/src/fstree_from_dir.c b/bin/gensquashfs/src/fstree_from_dir.c index defc8bf..40b4061 100644 --- a/bin/gensquashfs/src/fstree_from_dir.c +++ b/bin/gensquashfs/src/fstree_from_dir.c @@ -24,8 +24,8 @@ int fstree_from_dir(fstree_t *fs, sqfs_dir_iterator_t *dir) if (S_ISLNK(ent->mode)) { ret = dir->read_link(dir, &extra); if (ret) { - free(ent); sqfs_perror("readlink", ent->name, ret); + free(ent); return -1; } } |