mksquashfs: Move strdupping of filename/subpath to scan1_opendir()

This simplifies the logic, eliminating the need to strdup on the
recursive call to dir_scan1(), and eliminating the need to free
them on recursive dir_scan1() failure.

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
1 file changed
tree: e754ba80e785cd2942a778d59d3f39e0ca0d9edc
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README