commit | 3cb5d6c0b2043427fdf673b5ed6dc29b8d9579f9 | [log] [tgz] |
---|---|---|
author | Phillip Lougher <phillip@squashfs.org.uk> | Wed Jan 09 05:50:29 2013 +0000 |
committer | Mohamad Ayyash <mkayyash@google.com> | Mon Feb 23 12:35:37 2015 -0800 |
tree | e754ba80e785cd2942a778d59d3f39e0ca0d9edc | |
parent | 87db567b4f7d7733369df99fd51593d3e7b9de6b [diff] |
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>