From f914a8af2be457ce735e72a71ebe8c9a19cf4b23 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sat, 20 Jan 2001 06:23:54 +0000 Subject: [PATCH] Close files before exit --- archival/dpkg_deb.c | 1 + dpkg_deb.c | 1 + 2 files changed, 2 insertions(+) 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) } } status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list); + close (srcFd); return(EXIT_SUCCESS); } 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); } -- 2.25.1