diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-20 06:23:54 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-20 06:23:54 +0000 |
commit | 66877f783172b644d50b0311c4b3f89a26562649 (patch) | |
tree | 3301894f7ab20093d041a854ca50576a448ea563 | |
parent | d1fe93b2ef6225ce56f64a72b20eebe497d58045 (diff) | |
download | busybox-w32-66877f783172b644d50b0311c4b3f89a26562649.tar.gz busybox-w32-66877f783172b644d50b0311c4b3f89a26562649.tar.bz2 busybox-w32-66877f783172b644d50b0311c4b3f89a26562649.zip |
Close files before exit
git-svn-id: svn://busybox.net/trunk/busybox@1623 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 337e6e10d..35904950f 100644 --- a/archival/dpkg_deb.c +++ b/archival/dpkg_deb.c | |||
@@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv) | |||
155 | } | 155 | } |
156 | } | 156 | } |
157 | status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); | 157 | status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); |
158 | close (srcFd); | ||
158 | return(EXIT_SUCCESS); | 159 | return(EXIT_SUCCESS); |
159 | } | 160 | } |
diff --git a/dpkg_deb.c b/dpkg_deb.c index 337e6e10d..35904950f 100644 --- a/dpkg_deb.c +++ b/dpkg_deb.c | |||
@@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv) | |||
155 | } | 155 | } |
156 | } | 156 | } |
157 | status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); | 157 | status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); |
158 | close (srcFd); | ||
158 | return(EXIT_SUCCESS); | 159 | return(EXIT_SUCCESS); |
159 | } | 160 | } |