diff options
author | Matt Kraai | 2001-12-20 22:30:14 +0000 |
---|---|---|
committer | Matt Kraai | 2001-12-20 22:30:14 +0000 |
commit | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (patch) | |
tree | 142f08f7d29c02071c78da1596d0025ad16f029d /archival | |
parent | 2b1effdbbccf8f16ae3fed93d3178759a44d33d9 (diff) | |
download | busybox-31c73af656813b5cadcb1dd27adb9bbc62a98987.zip busybox-31c73af656813b5cadcb1dd27adb9bbc62a98987.tar.gz |
Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c index 8720144..dd65de1 100644 --- a/archival/tar.c +++ b/archival/tar.c @@ -738,11 +738,13 @@ int tar_main(int argc, char **argv) gz_close(gunzip_pid); } #endif // CONFIG_FEATURE_TAR_GZIP +#ifdef CONFIG_FEATURE_CLEAN_UP if (src_filename) { free(src_filename); } if (file_list_name) { free(file_list_name); } +#endif return(EXIT_SUCCESS); } |