summaryrefslogtreecommitdiff
path: root/archival/dpkg_deb.c
diff options
context:
space:
mode:
authorGlenn L McGrath2001-01-20 06:23:54 +0000
committerGlenn L McGrath2001-01-20 06:23:54 +0000
commitf914a8af2be457ce735e72a71ebe8c9a19cf4b23 (patch)
tree3301894f7ab20093d041a854ca50576a448ea563 /archival/dpkg_deb.c
parent6f65a3a7e88a87bdd0f921884cd05ae593659dda (diff)
downloadbusybox-f914a8af2be457ce735e72a71ebe8c9a19cf4b23.zip
busybox-f914a8af2be457ce735e72a71ebe8c9a19cf4b23.tar.gz
Close files before exit
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r--archival/dpkg_deb.c1
1 files changed, 1 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);
}