summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/dpkg_deb.c1
-rw-r--r--dpkg_deb.c1
2 files changed, 2 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);
}
diff --git a/dpkg_deb.c b/dpkg_deb.c
index 337e6e1..3590495 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);
}