aboutsummaryrefslogtreecommitdiff
path: root/dpkg_deb.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2001-01-20 06:23:54 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2001-01-20 06:23:54 +0000
commitf914a8af2be457ce735e72a71ebe8c9a19cf4b23 (patch)
tree3301894f7ab20093d041a854ca50576a448ea563 /dpkg_deb.c
parent6f65a3a7e88a87bdd0f921884cd05ae593659dda (diff)
downloadbusybox-f914a8af2be457ce735e72a71ebe8c9a19cf4b23.tar.gz
Close files before exit
Diffstat (limited to 'dpkg_deb.c')
-rw-r--r--dpkg_deb.c1
1 files changed, 1 insertions, 0 deletions
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)
}
}
status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list);
+ close (srcFd);
return(EXIT_SUCCESS);
}