projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b1effd
)
Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.
author
Matt Kraai
<kraai@debian.org>
Thu, 20 Dec 2001 22:30:14 +0000
(22:30 -0000)
committer
Matt Kraai
<kraai@debian.org>
Thu, 20 Dec 2001 22:30:14 +0000
(22:30 -0000)
archival/tar.c
patch
|
blob
|
history
diff --git
a/archival/tar.c
b/archival/tar.c
index 8720144b26de28e5d32494d8c8798dd087edeca4..dd65de1314173cbbc5a6d46e5b16dd1ded4ee78c 100644
(file)
--- 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);
}