From f914a8af2be457ce735e72a71ebe8c9a19cf4b23 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 20 Jan 2001 06:23:54 +0000 Subject: Close files before exit --- archival/dpkg_deb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'archival') 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); } -- cgit v1.1