diff options
author | Glenn L McGrath | 2001-01-20 06:23:54 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-01-20 06:23:54 +0000 |
commit | f914a8af2be457ce735e72a71ebe8c9a19cf4b23 (patch) | |
tree | 3301894f7ab20093d041a854ca50576a448ea563 | |
parent | 6f65a3a7e88a87bdd0f921884cd05ae593659dda (diff) | |
download | busybox-f914a8af2be457ce735e72a71ebe8c9a19cf4b23.zip busybox-f914a8af2be457ce735e72a71ebe8c9a19cf4b23.tar.gz |
Close files before exit
-rw-r--r-- | archival/dpkg_deb.c | 1 | ||||
-rw-r--r-- | dpkg_deb.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c index 337e6e1..3590495 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c @@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv) } } status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); + close (srcFd); return(EXIT_SUCCESS); } @@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv) } } status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); + close (srcFd); return(EXIT_SUCCESS); } |